2008-03-07 12:45:34 +05:00
|
|
|
/*!
|
|
|
|
|
|
|
|
\page create_ellipse_page Ellipse
|
|
|
|
|
|
|
|
To create an \b Ellipse in the <b>Main Menu</b> select <b>New Entity - > Basic - > Ellipse</b>
|
|
|
|
|
2012-08-09 13:58:02 +06:00
|
|
|
\n You can define an \b Ellipse by its <b>Center</b> point, a \b
|
|
|
|
Vector giving its normal, another vector specifying the direction of
|
|
|
|
ellipse's <b>Major Axis</b> and its <b>Major</b> & <b>Minor Radiuses</b>.
|
2008-03-07 12:45:34 +05:00
|
|
|
\n The \b Result of the operation will be a GEOM_Object (edge).
|
|
|
|
|
2012-08-09 13:58:02 +06:00
|
|
|
\note The parameters <b>Center</b>, <b>Vector</b> and <b>Major Axis</b>
|
|
|
|
are optional. By default it is presumed that the <b>Center</b> point
|
|
|
|
is located at the origin of the global coordinate system, the \b Vector
|
2014-05-05 12:16:12 +06:00
|
|
|
corresponds to OZ axis of the global coordinate system and <b>Major Axis</b>
|
|
|
|
corresponds to OX axis of the global coordinate system.
|
2012-08-09 13:58:02 +06:00
|
|
|
|
|
|
|
\note The actual direction of the major axis vector is defined as
|
|
|
|
<EM> Vmaj' = (Vn * Vmaj) * Vn</em>, where \em Vn is a normal vector and
|
|
|
|
\em Vmaj is an original vector of the major axis.
|
|
|
|
|
2014-05-07 18:25:27 +06:00
|
|
|
\n <b>TUI Command (without the major axis):</b> <em>geompy.MakeEllipse(Point, Vector, RadiusMajor, RadiusMinor)</em>
|
2008-03-07 12:45:34 +05:00
|
|
|
\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
|
|
|
|
the direction) + 1 X Radius + 1 Y Radius.
|
|
|
|
|
2014-05-07 18:25:27 +06:00
|
|
|
\n <b>TUI Command (with the major axis):</b> <em>geompy.MakeEllipseVec(Point, Vector, RadiusMajor, RadiusMinor, VectorMajor)</em>
|
2012-08-09 13:58:02 +06:00
|
|
|
\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
|
|
|
|
the normal direction) + 1 X Radius + 1 Y Radius + 1 edge (for the
|
2014-05-05 12:16:12 +06:00
|
|
|
major axis direction).
|
2009-02-13 17:16:39 +05:00
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
\image html ellipse.png
|
|
|
|
|
|
|
|
<b>Example:</b>
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\image html ellipsesn.png "Ellipse"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of creation of
|
|
|
|
\ref tui_creation_ellipse "Basic Geometric Objects".
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
*/
|