DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Models
Persistence
Collapse EntitiesEntities
Collapse GeometryGeometry
Geometry
Collapse BSpline BRepBSpline BRep
BSpline BRep Overview
BSpline Geometry
Curves
Faces
Wires
Edges
Collapse MeshMesh
Mesh Geometry
Mesh
Line Strips
Point Sets
Collapse Entity AttributesEntity Attributes
Local Frame
Material
Texture
Clipping Planes
Properties of an Entity
3D Grid
Collapse Model ItemsModel Items
Items
View Points
Collapse MeasurementsMeasurements
Measurements
Persistent Measurements
Grid
Collapse Operations and AlgorithmsOperations and Algorithms
Boolean Operations
Euclidean Shortest Path
Collapse MovementMovement
Movements
Kinematic Sections
Collision Detection
Collapse Import/ExportImport/Export
Import/Export Overview
Data Flow Sample
STL Tree
Collapse DG Kernel ComponentsDG Kernel Components
Components
DG Kernel Control
Collapse Properies, Methods, EventsProperies, Methods, Events
Properies
Methods
Events
Collapse Interactive FunctionalityInteractive Functionality
Context Menu
Direct User Access
Modes of DG Kernel
Current Entities
Collapse View of DGK ControlView of DGK Control
Global Axes
Background
3D Background
Collapse Selection OverviewSelection Overview
Selection
Selection Event
Collapse Auxiliary ViewsAuxiliary Views
Model Explorer
Birds Eye View
Full Screen window
Collapse Programmatic FunctionalityProgrammatic Functionality
Programming
Porting V5 Apps to DGK
Queries
Data Types
Object Construction
Generator
Component Context
Model Properties
Initialisation Context
Collapse AdvancedAdvanced
64 Bit Development
Memory Management
Third Party Technologies
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
IPointArray_DG
IPointMatrix_DG
Collapse CurvesCurves
ICurve2d_DG
ICircle2d_DG
ICurve_DG
ICircle_DG
IKCLine
IBSplineCurve_DG
IBSplineCurveInterpolator_DG
ICurveFreeForm
ICurveFreeFormEx
IArcSpline3DCurve
Collapse 2D2D
ILine2D
IArc
IArcEx
IEllipse_KC
IStripArcLine_KC
Collapse Oriented ObjectsOriented Objects
IObjectOriented
ISphere_DG
ICone_DG
ITorus_DG
IBox_DG
IPolygon3D_DG
IPrizmInfinite_KC
ICylindricalSurface_DG
IUVSurface_DG
IPartialSplineProps_DG
IBSplineSurface_DG
ISurface
IRectangleAxisAligned_KC
Collapse GeneralGeneral
IStrip
IStripTopol
IElem
IElement
ILocation
ILocationEx
Collapse ModelModel
IModel_DG
Collapse EntitiesEntities
IEntity_DG
IEntityArray_DG
IStdShape_DG
IStdShapeRef_DG
IDraw_DG
IConstraint
Collapse GeometryGeometry
IGeometry_DG
ISurfacePoint_DG
ISurfaceMetric_KC
Collapse BSpline BRep GeometryBSpline BRep Geometry
Collapse Advanced AlgorithmsAdvanced Algorithms
IBRepChamfer_DG
IBRepDraftAngle_DG
IBRepFillet_DG
IFeaturePrism_DG
IBRepShape_DG
IBRepVertex_DG
IBRepEdge_DG
IBRepWire_DG
IBRepFace_DG
IBRepShell_DG
IBRepSolid_DG
IBRepCompositeSolid_DG
IBRepCompound_DG
IShapeArray_DG
IBRepBuilderEx_DG
IWireArrayToSurfaceBuilder_DG
IBRepGeometry_DG
IBRepBuilder_DG
Collapse Native OCCTNative OCCT
IIKO_Standard_Object
IKO_Model
IKO_TopExp_Explorer
BRep
BRepBuilderAPI
BRepExtrema
BRepOffsetAPI
BRepPrimAPI
Geom2d
GeomAPI
GP
ModModeling Algorithms
TColgp
TColStd
TopoDS
TopTools
Collapse Mesh GeometryMesh Geometry
IMesh
IMeshTopol
ISimplex
IMeshMods
IVertex
IMeshEx
IMeshPointKC
IVertexEx_KC
IEdge_KC
ISimplexEx_KC
IMeshAlgor
IMeshBuilder_KC
IMeshShading_KC
Collapse AppearenceAppearence
IAppearance_DG
IColor
IMaterial
ITexture
ILineStyle_KC
Collapse MovementMovement
Collapse Collision DetectionCollision Detection
IMetrics
IMetrics2
IKCPathCollisionDetector
IKinematicSection_KC
IMove_KC
IKinematicSet_KC
ICutEffect_KC
ISpinEffect_KC
Collapse ItemsItems
IModelItem_DG
IItemArray_DG
Collapse Import / ExportImport / Export
ICADFormat_KC
IDataContext
IFormatVersionDataContext
ISTLDataContext
IDataConvert_KC
Collapse Operations and AgorithmsOperations and Agorithms
IBooleanEntity_DG
IBoolSectionEx
ITransform
IDiffSurface_KC
IEuclideanShortestPath_KC
Collapse User DataUser Data
ILayers
IUserData_DG
IMatrixData
Collapse ViewView
IView_DG
ISelection_DG
IViewPoint
IViewPointArray
IScene_DG
IRectangleColor_KC
I2DView_KC
I2DView2_KC
I2DEditor_KC
IPrint_KC
IVirtualView
ILightSource
I3DGrid
Collapse General ComputingGeneral Computing
IObjectGenerator_DG
IControlInitialisationContext_KC
Collections
IUnknown
IObject_DG
ITypeBasic_KC
IBitmap
IBlob
IKCContext
IKCContext2
IError_KC
IKCStack
IMenu_KC
IMenuItem_KC
IGlobalAPI_KC
IRange
ITechnology_DG
IText
IDIFont
I3DBugger
Collapse Embedded User DBEmbedded User DB
IData
Collapse Samples and TutorialsSamples and Tutorials
Sample List
.NET Samples
Delphi and C++ Samples
Collapse GraphicsGraphics
Concepts
3D View
Viewing Volume
Eye Frame
Perspective View
Collapse Math ObjectsMath Objects
Mathematical Objects
Points and Vectors
Planes
Frames
Transforms
Oriented Objects
Boxes
Collapse CurvesCurves
Curve Technologies
Native Curves
Collapse 2D Elements2D Elements
Geometric Elements
Arcs
Line Strips
Collapse DeprecatedDeprecated
Collapse Deprecated GeometryDeprecated Geometry
Collapse 3DS3DS
3DS Generator
Profiles
Surface Patches
Surfaces and Patch Strips
Input Validation
Collapse Lines and CurvesLines and Curves
Line Section
3DS Curves
Surface Of Revolution
Pipes
Collapse Deprecated API ReferenceDeprecated API Reference
Vector Space
General Geometry
Collapse ModelModel
IModel
IModel2
IModelEx
IModelSearch_KC
Collapse SectionSection
IBoundary
IStdShape
ISurfacePointKC
ISurfacePointArrayKC
IBoolSection
ISection
ISection2
ISectionPointSet
ISectionLineStrip
IPipeSection
ILineSection_KC
IObjectPosition_KC
IModelHealer_KC
IPointCloud_KC
Collapse 3DS3DS
I3DSectionGenerator
IAxiBase
IProfiles
IProfiledElement_KC
Collapse SORSOR
ISORSectionGenerator
Clipping Planes
IDraw
IDrawUtil
IDraw2
View
Collapse General ComputingGeneral Computing
IDIObjGenerator
IObject_KC
Collapse CollectionsCollections
IArray
IArray2
IList
IListUnkn_KC
IRelation
IArrayNum
IArray3D
IRefMap_KC
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


IFrame_DG Interface

GetOrigin
GetOrigin1
SetOrigin
SetOrigin1
GetAxis
Translate
Translate1
TranslateGlobal
Rotate
Rotate1
Rotate2
Rotate3
RotateGlobal
RotateGlobal1
SetAxes
SetupAxes
Reset
ResetOrientation
Copy
Push
Pop
ToLocal
ToGlobal
ToLocalVector
ToGlobalVector
ToLocalFrame
ToGlobalFrame
Invert
Clone

IFrame_DG is implemented by Frames.


void GetOrigin(out Point_DG origin)

Coordinates of the returned point are global


void GetOrigin1(out double x, out double y, out double z)

Returns global coordinates of the origin


void SetOrigin(Point_DG origin)

origin mist have global coordinates


void SetOrigin1(double x, double y, double z)

x,y,z mist be global coordinates


void GetAxis(int index, out Vect_DG axis)

Coordinates of the returned vector are global


void Translate(Vect_DG vectBy)

vectBy is expected to have local coordinates (coordinates relative to the current state of the frame)


void Translate1(double vx, double vy, double vz)

The coordinates are expected to be local (relative to the current state of the frame)


void TranslateGlobal(Vect_DG vectBy)

Coordinates of vectBy are assumed to be global.


void Rotate(double angle, Vect_DG axis)

angle is expected in radians. axis is expected to have coordinates relative to the current state of the frame


void Rotate1(double angle, double vx, double vy, double vz)

angle is expected in radians. vx,vy,vz are expected to be relative to the current state of the frame.


void Rotate2(double angle, Line_DG axis)

angle is expected in radians. axis is expected to have coordinates relative to the current state of the frame.


void Rotate3(double angle, double xLocnAxis, double yLocnAxis, double zLocnAxis, double xDirAxis, double yDirAxis, double zDirAxis)

angle is expected in radians. The coordinates are expected to be relative to the current state of the frame.


void RotateGlobal(double angle, Vect_DG axisGlobal)

angle is expected in radians. Coordinates of axisGlobal are assumed to be global.


void RotateGlobal1(double angle, Line_DG axisGlobal)

angle is expected in radians. Coordinates of axisGlobal are assumed to be global.


void SetAxes(int axisInd0, Vect_DG axis0, int axisInd1, Vect_DG axis1)

angle is expected in radians. Coordinates of axis0 and axis1 are assumed to be global.


void SetupAxes(int axis0, Vect_DG axis, int axis1)

angle is expected in radians. Coordinates of axis0 and axis1 are assumed to be global.


void Reset()

Resets to default state: This frame coincides with the global frame


void ResetOrientation()

Resets axes to default state: Axes of this frame coincide with axes of the global frame. The origin remains unchanged


void Copy(IFrame_DG frame)


void Push()

Pushed the current state of the frame into an internal state stack


void Pop()

Restores this frame to the last state stored with Push(). Pops the stack


void ToLocal(ref Point_DG point)

Converts coordinates of point from global to local (to coordinates relative to this).


void ToGlobal(ref Point_DG point)

Converts coordinates of point from local to global.


void ToLocalVector(ref Vect_DG vect)

Converts coordinates of vect from global to local.


void ToGlobalVector(ref Vect_DG vect)

Converts coordinates of vect from local to global.


void ToLocalFrame(IFrame_DG frame)

Converts coordinates of frame from global to local.


void ToGlobalFrame(IFrame_DG frame)

Converts coordinates of frame from local to global.


void Invert()

Inverts this frame. See Frames.


IFrame_DG Clone()