DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


IFrame2d_DG Interface

Represents a two-dimentional set of axes.

A standalone 2D frame can be constructed with a IFrame2d_DG.Create("ILine2d_DG") call.

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

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)