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 > 2D > IArc_DG Go to DGKC docs Search Documentation


IArc_DG Interface

GetEndPoint
GetEndPoint1
SetEndPoint
SetEndPoint1
GetCurvature
SetCurvature
Init
IsValid
MakeValid
GetPoint
GetPoint1
GetRadius
SetRadius
GetCenter
GetCenter1
GetAngleRange
PassThroughPoint

DG2D GetEndPoint(int end)


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


void SetEndPoint(int end, DG2D point)


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


double GetCurvature()


void SetCurvature(double curv)


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).


DG2D 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)).


double GetRadius()


void SetRadius(double r)


DG2D GetCenter()


void GetCenter1(double x, double y)


void GetAngleRange(double min, double max)


int PassThroughPoint(double x, double y)