![]() |
GeometryVersion: 1.0 | ||||||||||||||||
Ellipse2D functionsThese functions work on Ellipses. In case of ellipses there is an angle parameter with the role of the angle in circles. Its name is ellipse angle and has a
range of [0..2PI). There is an isomorphism between this angle parameter and the points of the ellipse. Even more,
there is a conversion between an angle and an ellipse angle: rotate the ellipse so that its main axis is parallel to axis x and
then make a distortion on the ellipse to get a circle with diameter being equal to the main axis of the ellipse (DoAffinPt).
Then the angle belonging to the transformated point is the ellipse angle of the original point.
In case of ellipses there is an another parameter with role of the angle and ellipse angle in circles. Its range is [0..1). In whole ellipses it is the ellipse angle divided by 2*PI. In elliptic arcs (see later), the parameter starts always from the starting point of the arc. The third method to identify a point of an ellipse is the point coordinates themselves. These three methods: ellipse angle, parameter, coordinates all identify uniquely a point of an ellipse. And of course there are conversions between them:
Geometry::DoAffinPt See AlsoGeometry, Geometry::XEllipseLine, Geometry::XEllipseCircle, Geometry::XEllipseEllipse |
|||||||||||||||||
|
Copyright © 2006 - Graphisoft R&D Zrt. All rights reserved worldwide. Built on June 21, 2000 |