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 > 2D > ICircle2d_DG Go to ActiveX docs Search Documentation


ICircle2d_DG Interface

If this circle defines an edge or otherwise is part of a model, after any modification IGeometry_DG.SetModified() has to be called for the change to appear in 3D view.

A standalone 2D circle can be created via IObjectGenerator_DG.Create<ICircle2d_DG>() > ICircle2d_DG query.

Implements also: ICurve2d_DG, IGeometricObject_DG, IObject_DG.

Properties

double Radius
T2DDg Center

Methods

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

void Init(T2DDg center, double radius)


void Init1(T2DDg center, T2DDg 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(T2DDg point0, T2DDg point1, double radius)

Defines this so the points are incident.


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

Defines this so the points are incident.


double GetRadius()


void SetRadius(double radius)


T2DDg GetCenter()


void SetCenter(T2DDg 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


T2DDg GetPoint(double angle)


T2DDg GetTangent(double angle)


T2DDg GetNormal(double angle)


void Copy(ICircle2d_DG circle)