KernelCAD Documentation

DInsight Home
Skip Navigation Links.
Start page
Quick Start
Installation
Overview of the software
What is new
Collapse KernelCAD ModelsKernelCAD Models
Collapse KernelCAD ComponentsKernelCAD Components
KernelCAD Control
KernelCAD .NET Control
Methods and Properties
Menu
Model Explorer
Birds Eye View
Programming
Direct User Access
Direct Operations
Interface Queries
Printing Support
Data Types
Modes of KernelCAD Control
DIObjectGenerator class
Properties
FlatObjectArray Poperty
Context
64 bit development
Dual Mode
Initialisation Context
Overlay Editor
Memory Management
Input validation
Collapse Advanced functionalityAdvanced functionality
Collapse InterfacesInterfaces
Alphabetical list
I3DGrid
I3DBugger
I3Dpt
IAxiBase
IAxis
IBoolSection
IBoolSectionEx
IBoundary
IColor
IConstraint
IData
IDiffSurface_KC
IDIFont
IDraw
IDrawUtil
IDraw2
IElem
IElement
IKCLine
ILightSource
ILocation
ILocationEx
IMaterial
IMetrics
IMetrics2
IModel
IModel2
IModelEx
IPatch
IKCPathCollisionDetector
IProfiles
IPropertyArray
IPropertyArray2
IStdShape
IStrip
ISurface
IText
ITexture
ITransform
IUnknown
Collapse Open Cascade TechnologyOpen Cascade Technology
Collapse DataData
Collapse MovementMovement
Collapse FramesFrames
Collapse Oriented ObjectsOriented Objects
Collapse SectionsSections
Collapse GeneralGeneral
Collapse Topological InterfacesTopological Interfaces
Collapse Viewing InterfacesViewing Interfaces
Collapse Lines And CurvesLines And Curves
Collapse Symmetry InterfacesSymmetry Interfaces
Collapse Clipping plane interfacesClipping plane interfaces
Collapse AlgorithmsAlgorithms
Collapse 2D Geometry2D Geometry
Collapse Programming Samples and TutorialsProgramming Samples and Tutorials
Collapse OverviewOverview
Collapse DeploymentDeployment
Collapse .NET Samples.NET Samples
Collapse C++ SamplesC++ Samples
Collapse Visual Basic SamplesVisual Basic Samples
Collapse Delphi SamplesDelphi Samples
Collapse 3D Debugger3D Debugger
Collapse DeploymentDeployment
Licensing
Model Viewer
Open C++ Source
Technical Support
Skip Navigation LinksHome Page > KernelCAD Models > Mathematical Objects > 2D Elements > Geometric Elements
Geometric Elements

Geometric 2D Elements

Geometrical elements are primitives from which all other geometrical object are constructed. 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-section 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"