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 > ICircle_DG Go to DGKC docs Search Documentation


ICircle_DG Interface

Oriented 3D circle 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 circle. Point on the circle in direction of the X axis of the local frame is the starting point of parameterization as retuned via the ICircle_DG > ICurve_DG > GetParameterRange1 > min.

A standalone circle can be created via IObjectGenerator_DG.Create("ICircle_DG") > ICircle_DG query.

Implements also: ICurve_DG, IGeometricObject_DG, IObject_DG.

Init
Init1
Init2
Init3
Init4
GetRadius
SetRadius
GetCenter
SetCenter
GetLocation
SetLocation
GetPoint
GetTangent
GetNormal
Copy
Clone

void Init(Point_DG center, Vect_DG normal, double radius)


void Init1(IFrame_DG frame, double radius)

Defines this as a circle at the origin of the x and y plane of frame.


void Init2(Point_DG point0, Point_DG point1, Point_DG point2)


void Init3(Point_DG endArc0, Point_DG endArc1, Vect_DG normal, double radius)

Defines this as circle of an arc in plane with normal in direction of normal. normal is adjusted to make it perpendicular to [endArc0, endArc1] direction.


void Init4(Point_DG center, Vect_DG normal, Vect_DG axisX, double radius)

The axisX parameter defines direction in which the first point (with parameter which is the lower limit of the range) is located.


double GetRadius()


void SetRadius(double radius)


Point_DG GetCenter()


void SetCenter(Point_DG center)


IFrame_DG GetLocation()

The returned frame is by value. Its modifications are copied to the circle only inside a SetLocation() method below


void SetLocation(IFrame_DG frame)

Modifies location and orientation of the circle


Point_DG GetPoint(double angle)


Vect_DG GetTangent(double angle)


Vect_DG GetNormal()


void Copy(ICircle_DG circle)


ICircle_DG Clone()

Returns a new copy of this.