DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


IFrame2d_DG Interface

Init
GetOrigin
SetOrigin
GetXDirection
SetXDirection
GetYDirection
SetYDirection
Translate
Translate1
Rotate
Reset
ResetOrientation
Copy
Clone
ToLocal
ToGlobal
ToLocalVector
ToGlobalVector
ToLocalLine
ToGlobalLine
ToLocalFrame
ToGlobalFrame
Invert
IsIdentity

Represents a two-dimentional set of axes.

A standalone 2D frame can be constructed via IObjectGenerator_DG.Create("Frame2d_DG") > IFrame2d_DG query.


void Init(DG2D origin, DG2D directionX)


DG2D GetOrigin()


void SetOrigin(DG2D origin)


DG2D GetXDirection()


void SetXDirection(DG2D direction)


DG2D GetYDirection()


void SetYDirection(DG2D direction)


void Translate(DG2D vBy)


void Translate1(double vx, double vy)


void Rotate(double angle)


void Reset()


void ResetOrientation()


void Copy(IFrame2d_DG frame)


IFrame2d_DG Clone()


void ToLocal(DG2D point2d)


void ToGlobal(DG2D point2d)


void ToLocalVector(DG2D vect2d)


void ToGlobalVector(DG2D vect2d)


void ToLocalLine(ILine2d_DG ray)


void ToGlobalLine(ILine2d_DG ray)


void ToLocalFrame(IFrame2d_DG frame)


void ToGlobalFrame(IFrame2d_DG frame)


void Invert()


bool IsIdentity(double tolerance)