Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Geom_CartesianPoint Class Reference

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>

Inheritance diagram for Geom_CartesianPoint:
Inheritance graph
[legend]

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


Member Function Documentation

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.

Implements Geom_Geometry.

Implements Geom_Point.

Implements Geom_Point.

Implements Geom_Point.


The documentation for this class was generated from the following file: