Open CASCADE Technology
6.5.4
|
Describes a point in 3D space. A
Geom_CartesianPoint is defined by a gp_Pnt point,
with its three Cartesian coordinates X, Y and Z.
#include <Geom_CartesianPoint.hxx>
Public Member Functions | |
Geom_CartesianPoint (const gp_Pnt &P) | |
Returns a transient copy of P. | |
Geom_CartesianPoint (const Standard_Real X, const Standard_Real Y, const Standard_Real Z) | |
Constructs a point defined by its three Cartesian coordinates X, Y and Z. | |
void | SetCoord (const Standard_Real X, const Standard_Real Y, const Standard_Real Z) |
Assigns the coordinates X, Y and Z to this point. | |
void | SetPnt (const gp_Pnt &P) |
Set <me> to P.X(), P.Y(), P.Z() coordinates. | |
void | SetX (const Standard_Real X) |
Changes the X coordinate of me. | |
void | SetY (const Standard_Real Y) |
Changes the Y coordinate of me. | |
void | SetZ (const Standard_Real Z) |
Changes the Z coordinate of me. | |
void | Coord (Standard_Real &X, Standard_Real &Y, Standard_Real &Z) const |
Returns the coordinates of <me>. | |
gp_Pnt | Pnt () const |
Returns a non transient cartesian point with the same coordinates as <me>. | |
Standard_Real | X () const |
Returns the X coordinate of <me>. | |
Standard_Real | Y () const |
Returns the Y coordinate of <me>. | |
Standard_Real | Z () const |
Returns the Z coordinate of <me>. | |
void | Transform (const gp_Trsf &T) |
Applies the transformation T to this point. | |
Handle_Geom_Geometry | Copy () const |
Creates a new object which is a copy of this point. |
Geom_CartesianPoint::Geom_CartesianPoint | ( | const Standard_Real | X, |
const Standard_Real | Y, | ||
const Standard_Real | Z | ||
) |
void Geom_CartesianPoint::Coord | ( | Standard_Real & | X, |
Standard_Real & | Y, | ||
Standard_Real & | Z | ||
) | const [virtual] |
Implements Geom_Point.
Handle_Geom_Geometry Geom_CartesianPoint::Copy | ( | ) | const [virtual] |
Implements Geom_Geometry.
gp_Pnt Geom_CartesianPoint::Pnt | ( | ) | const [virtual] |
Implements Geom_Point.
void Geom_CartesianPoint::SetCoord | ( | const Standard_Real | X, |
const Standard_Real | Y, | ||
const Standard_Real | Z | ||
) |
void Geom_CartesianPoint::Transform | ( | const gp_Trsf & | T | ) | [virtual] |
Implements Geom_Geometry.
Standard_Real Geom_CartesianPoint::X | ( | ) | const [virtual] |
Implements Geom_Point.
Standard_Real Geom_CartesianPoint::Y | ( | ) | const [virtual] |
Implements Geom_Point.
Standard_Real Geom_CartesianPoint::Z | ( | ) | const [virtual] |
Implements Geom_Point.