DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > 2D > ICircle2d_DG Search Documentation


ICircle2d_DG Interface

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

void Init(DG2D center, double radius)


void Init1(DG2D center, DG2D axis, double radius)

The axis parameter defines direction in which the first point used in defining parametrisation is located.


void Init2(IFrame2d_DG frame, double radius)

The frame parameter defines location of the center. The x axis of the frame defines direction in which the first point used in defining parametrisation is located.


void Init3(DG2D point0, DG2D point1, double radius)

Defines this so the points are incident.


void Init4(DG2D point0, DG2D point1, DG2D point2)

Defines this so the points are incident.


double GetRadius()


void SetRadius(double radius)


DG2D GetCenter()


void SetCenter(DG2D center)


IFrame2d_DG GetLocation()

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


void SetLocation(IFrame2d_DG frame)

Modifies location and orientation of the circle


DG2D GetPoint(double angle)


DG2D GetTangent(double angle)


DG2D GetNormal(double angle)


void Copy(ICircle2d_DG circle)