DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
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
Open Source
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > IEllipse_DG Go to DGKC 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 > GetParameterRange1 > min.

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

Implements also: ICurve_DG, IGeometricObject_DG, IObject_DG.

Init
Init1
Init2
Init3
GetMajorRadius
SetMajorRadius
GetMinorRadius
SetMinorRadius
GetCenter
SetCenter
GetLocation
SetLocation
GetEccentricity
GetFocalDistance
GetFocus
GetPoint
GetTangent
GetNormal
Copy
Clone

void Init(double rMajor, double rMinor)


void Init1(Point_DG center, VectDg normal, double rMajor, double rMinor)

normal - Normal of the plane of the ellipse.


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


void Init3(Point_DG 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 GetMajorRadius()


void SetMajorRadius(double R)


double GetMinorRadius()


void SetMinorRadius(double r)


Point_DG GetCenter()


void SetCenter(Point_DG center)


IFrame_DG GetLocation()


void SetLocation(IFrame_DG frame)


double GetEccentricity()


double GetFocalDistance()


Point_DG GetFocus(int index0or1)


Point_DG GetPoint(double angle)


VectDg GetTangent(double angle)


VectDg GetNormal()


void Copy(IEllipse_DG ellipse)


IEllipse_DG Clone()