Open CASCADE Technology 6.6.0
Data Structures | Functions
gp_GTrsf.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <gp_Mat.hxx>
#include <gp_XYZ.hxx>
#include <gp_TrsfForm.hxx>
#include <Standard_Real.hxx>
#include <Standard_Storable.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <gp_Trsf.hxx>
#include <Standard_PrimitiveTypes.hxx>
#include <gp_GTrsf.lxx>

Data Structures

class  gp_GTrsf
 Defines a non-persistent transformation in 3D space.
This transformation is a general transformation.
It can be a Trsf from gp, an affinity, or you can define
your own transformation giving the matrix of transformation.

With a Gtrsf you can transform only a triplet of coordinates
XYZ. It is not possible to transform other geometric objects
because these transformations can change the nature of non-
elementary geometric objects.
The transformation GTrsf can be represented as follow :

V1 V2 V3 T XYZ XYZ
| a11 a12 a13 a14 | | x | | x'|
| a21 a22 a23 a24 | | y | | y'|
| a31 a32 a33 a34 | | z | = | z'|
| 0 0 0 1 | | 1 | | 1 |

where {V1, V2, V3} define the vectorial part of the
transformation and T defines the translation part of the
transformation.
Warning
A GTrsf transformation is only applicable to
coordinates. Be careful if you apply such a
transformation to all points of a geometric object, as
this can change the nature of the object and thus
render it incoherent!
Typically, a circle is transformed into an ellipse by an
affinity transformation. To avoid modifying the nature of
an object, use a gp_Trsf transformation instead, as
objects of this class respect the nature of geometric objects.
More...

Functions

const Handle< Standard_Type > & STANDARD_TYPE (gp_GTrsf)

Function Documentation

const Handle< Standard_Type >& STANDARD_TYPE ( gp_GTrsf  )
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines