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
Expand API ReferenceAPI Reference
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Collapse Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > Math Objects > 2D Elements > Geometric Elements Go to DGKC docs Search Documentation


Geometric 2D Elements

Geometric element is a synonym for 2D primitive used in deprecated 3DS and SOR geometries. There are different types of elements. Each element has ClassName property, which is name of its type. The ClassName can be retrieved from an element programmatically. Geometry of an element is uniquely determined by a number of parameters. Value of a parameter normally represented by a double number. Each parameter of an element of a type has a descriptive name which can be queried at runtime.

2D Strips


2D Point

ClassName:                        "2DPoint"

Number of Parameters :   2

Parameter names :            "Component0", "Component1"


2D Line

ClassName:                     "2DLine"

Number of Parameters :   0

Remarks 2D Line elements normally are used as part of line strips. Ends of the line can be retrieved from the strip directly as 2D Point elements.

2D Arc

ClassName:                     "2DArc"

Number of Parameters:   1

Parameter name :           "Curvature" or "Radius"

Remarks

2D Arc element is used normally as part of a segment strip. Ends of the arc can be retrieved from the strip directly as 2D Point elements. Radius of an arc when it is not straight (curvature is not zero) can be calculated as 1.0 divided by the curvature. When this arc element is obtained as a cross-entity of a Radial Arc Patch its parameter will have name "Radius" and "Curvature" otherwise.

 

Axial Elements

See also Profiles.


Axial Point

ClassName:                  "AxialPoint"

Number of Parameters :   1

Parameter names :        "CrossValue"


Axial Line

ClassName:                  "AxialLine"

Number of Parameters :   0


Axial Arc

ClassName:                  "AxialArc"

Number of Parameters :   1

Parameter names :        "Curvature"