< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Structures | Functions
Elliptic Curve

Data Structures

struct  A3DCrvEllipseData
 Elliptic curve structure. More...
 

Functions

A3DStatus A3DCrvEllipseGet (const A3DCrvEllipse *pCrv, A3DCrvEllipseData *pData)
 Populates the A3DCrvEllipseData structure. More...
 
A3DStatus A3DCrvEllipseCreate (const A3DCrvEllipseData *pData, A3DCrvEllipse **ppCrv)
 Creates an A3DCrvEllipse from A3DCrvEllipseData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeCrvEllipse.

The canonical form is defined with an A3DMiscCartesianTransformationData, its origin being the center of the ellipse and its vector X being the axis corresponding to zero parameter and X radius. The implicit parameterization is an angle in radian in the range [0, 2PI].

A3DParameterizationData allows for reparameterization and trim.

Example of an elliptic arc
A3DPRCGeometryCrvEllipse.jpg

In this example, the ellipse is in the XY plane (and therefore has an identity transformation), with radii Rx and Ry and is restricted to the [ t0 , t1 ] interval. Assuming m_dCoeffA is 1.0 and m_dCoeffB 0.0 (which indicates a parameterization in radians), then t0=0 and t1=PI/2, t0 corresponds to the Cartesian coordinates (Rx,0,0) and t1 to (0,Ry,0).

Note
The values of the m_dXRadius and m_dYRadius members must be greater than 0.

Function Documentation

A3DStatus A3DCrvEllipseGet ( const A3DCrvEllipse pCrv,
A3DCrvEllipseData pData 
)
A3DStatus A3DCrvEllipseCreate ( const A3DCrvEllipseData pData,
A3DCrvEllipse **  ppCrv 
)