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


IKO_gp_Transformation Interface


Modifies location and orientation the object implementing this interface (the object it was queried from) as a whole without modification of its geometry

Translate
Rotate
Scale
Mirror
Mirror1
Mirror2
Transform

HRESULT Translate(DIVect* V)

Translates the object by vector V


HRESULT Rotate(IKO_gp_Ax1* A1, double Ang)

Parameters

A1 -[in] Axis of rotation

ang - [in] angle in radians


HRESULT HRESULT Scale(DIPoint* P, double S)

Scales the object with centre at point P


HRESULT Mirror(DIPoint* P)>H

Performs the symmetrical transformation of this object with respect to the point P which is the center of the symmetry.


HRESULT Mirror1(IKO_gp_Ax1* A1)

Performs the symmetrical transformation of a cone with respect to an axis placement which is the axis of the symmetry.


HRESULT Mirror2(IKO_gp_Ax2* A2)

Performs the symmetrical transformation of this object with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).


HRESULT Transform(IKO_gp_Trsf* T)

Transforms the object with the transformation T