Returns a point on the ellipse for a given parameter angle.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Point GetPointAtParameter( double tetha ) |
Visual Basic (Declaration) |
---|
Public Function GetPointAtParameter ( _ tetha As Double _ ) As Point |
Visual C++ |
---|
public: Point^ GetPointAtParameter( double tetha ) |
Parameters
- tetha
- Type: System..::.Double
An angle in [radian].
Return Value
Returns the point on the ellipse that belongs to the parameter angle tethaRemarks
A point on the ellipse is defined by
p = c + a*cos(t) + b*sin(t), where
tetha- t is the parameter angle tetha with t: [0, 2*pi]
- c is the center point of the ellipse.
- a is the semimajor axis vector of the ellipse.
- b is the semiminor axis vector of the ellipse.
In these terms, this function returns the point p at the ellipse parameter t.
Use GetParameterAtPoint(Point) to find the ellipse parameter t for a given point p
If p lies on the circumference of an ellipse e, then p = e.GetPointAtParameter(GetParameterAtPoint(p))