DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > IEllipse_DG Go to ActiveX docs Search Documentation


IEllipse_DG Interface

Oriented 3D ellipse with center at the origin of its local frame defined by the Location property. Z axis of the local frame coinsides with the normal of the plane of the ellipse. Point on the ellipse in direction of the X axis of the local frame is the starting point of parameterization as retuned via the IEllipse_DG > ICurve_DG > ParameterRange > Min query.

A standalone ellipse can be created via IObjectGenerator_DG.Create<IEllipse_DG>() > IEllipse_DG query.

Implements also: ICurve_DG, IGeometricObject_DG, IObject_DG.

Properties

Name Type Description
MajorRadius double  
MinorRadius double  
Center PointDg A shortcut for Location.Origin
Location IFrame_DG See comments above. Modifications to the IFrame_DG obtained via this property are not applied immediately. Use assignment to apply. Example:
IFrame_DG frame = myEllipse.Location; frame.Rotate(0.5*Math.PI, 0); myEllipse.Location = frame;

Methods

Init
Init
Init
Init
GetEccentricity
GetFocalDistance
GetFocus
GetPoint
GetTangent
GetNormal
Copy
Clone

void Init(double rMajor, double rMinor)


void Init(PointDg center, VectDg normal, double rMajor, double rMinor)

normal - Normal of the plane of the ellipse.
Direction of the major axis in the plane is computed using a heuristic method.


void Init(IFrame_DG frame, double rMajor, double rMinor)


void Init(PointDg center, VectDg normal, VectDg axisX, double rMajor, double rMinor)

normal - Normal of the plane of the ellipse.
axisX - Direction of the major axis in the plane.


double GetEccentricity()


double GetFocalDistance()


PointDg GetFocus(int index0or1)


PointDg GetPoint(double angle)


VectDg GetTangent(double angle)


VectDg GetNormal()


void Copy(IEllipse_DG ellipse)


IEllipse_DG Clone()