Open CASCADE Technology 6.6.0
|
Describes a coordinate transformation, i.e. a change
to an elementary 3D coordinate system, or position in 3D space.
A Datum3D is always described relative to the default datum.
The default datum is described relative to itself: its
origin is (0,0,0), and its axes are (1,0,0) (0,1,0) (0,0,1).
#include <TopLoc_Datum3D.hxx>
Public Member Functions | |
TopLoc_Datum3D () | |
Constructs a default Datum3D. | |
TopLoc_Datum3D (const gp_Trsf &T) | |
Constructs a Datum3D form a Trsf from gp. An error is raised if the Trsf is not a rigid transformation. | |
const gp_Trsf & | Transformation () const |
Returns a gp_Trsf which, when applied to this datum, produces the default datum. | |
void | ShallowDump (Standard_OStream &S) const |
Writes the contents of this Datum3D to the stream S. |
TopLoc_Datum3D::TopLoc_Datum3D | ( | ) |
TopLoc_Datum3D::TopLoc_Datum3D | ( | const gp_Trsf & | T | ) |
void TopLoc_Datum3D::ShallowDump | ( | Standard_OStream & | S | ) | const [virtual] |
Reimplemented from Standard_Transient.
const gp_Trsf& TopLoc_Datum3D::Transformation | ( | ) | const |