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.
|
Constructor & Destructor Documentation
Geom_CartesianPoint::Geom_CartesianPoint |
( |
const gp_Pnt & |
P | ) |
|
Member Function Documentation
Handle_Geom_Geometry Geom_CartesianPoint::Copy |
( |
| ) |
const [virtual] |
gp_Pnt Geom_CartesianPoint::Pnt |
( |
| ) |
const [virtual] |
void Geom_CartesianPoint::SetPnt |
( |
const gp_Pnt & |
P | ) |
|
void Geom_CartesianPoint::Transform |
( |
const gp_Trsf & |
T | ) |
[virtual] |
The documentation for this class was generated from the following file: