DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > ICircle_DG Search Documentation


ICircle_DG Interface

Init
Init1
Init2
Init3
GetRadius
SetRadius
GetCenter
SetCenter
GetAxisDirection
SetAxisDirection
GetLocation
SetLocation
GetPoint
GetTangent
Copy
Clone

Oriented 3D circle with center at the origin of its local frame as specified by Init*(). Axis consides with Z axis of the local frame.

Implements also: ICurve_DG, IGeometricObject_DG, IObject_DG.


void Init(Point_DG center, Vect_DG axis, 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.


double GetRadius()


void SetRadius(double radius)


Point_DG GetCenter()


void SetCenter(Point_DG center)


Vect_DG GetAxisDirection()


void SetAxisDirection(Vect_DG axis)


IFrame_DG GetLocation()

The returnel frame is by value. Its modifications are copied to the curcle only inside a SetLocation() call below


void SetLocation(IFrame_DG frame)

Modifies location and orientation of the circle


Point_DG GetPoint(double angle)


Vect_DG GetTangent(double angle)


void Copy(ICircle_DG circle)


ICircle_DG Clone()

Returns a new copy of this.