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 > IArc_DG Go to ActiveX docs Search Documentation


IArc_DG Interface

Properties

double Curvature
double Radius

Methods

GetEndPoint
GetEndPoint1
SetEndPoint
SetEndPoint1
Init
IsValid
MakeValid
GetPoint
GetPoint1
GetCenter
GetCenter1
GetAngleRange
PassThroughPoint

T2DDg GetEndPoint(int end)


void GetEndPoint1(int end, double x, double y)


void SetEndPoint(int end, T2DDg point)


void SetEndPoint1(int end, double x, double y)


bool Init()


bool IsValid()

Returns true if the arc is geometrically possible: Absolute value of the curvature is not greater than 1.0/(chord length).


bool MakeValid()

If the curvature is greater than the geometrically possible, reduces its absolute value to 1.0/(chord length).


T2DDg GetPoint(double t)

t has to be a ratio in [0,1] range foor points inside the arc. GetPoint(0.0) is the first end (as returned by GetEndPoint(0)).


void GetPoint1(double t, double x, double y)

t has to be a ratio in [0,1] range foor points inside the arc. GetPoint(1.0) is the second end (as returned by GetEndPoint(1)).


T2DDg GetCenter()


void GetCenter1(double x, double y)


void GetAngleRange(double min, double max)


int PassThroughPoint(double x, double y)