Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

gp_Pnt Class Reference

#include <gp_Pnt.hxx>

List of all members.


Detailed Description

Defines a non-persistent 3D cartesian point.
.

Definition at line 61 of file gp_Pnt.hxx.


Public Member Functions

const gp_XYZ_CSFDB_Getgp_Pntcoord () const
void BaryCenter (const Standard_Real Alpha, const gp_Pnt &P, const Standard_Real Beta)
gp_XYZChangeCoord ()
const gp_XYZCoord () const
 For this point, returns its three coordinates as a number triple.
.
void Coord (Standard_Real &Xp, Standard_Real &Yp, Standard_Real &Zp) const
 For this point gives its three coordinates Xp, Yp and Zp.
.
Standard_Real Coord (const Standard_Integer Index) const
Standard_Real Distance (const gp_Pnt &Other) const
 Computes the distance between two points.
.
 gp_Pnt (const Standard_Real Xp, const Standard_Real Yp, const Standard_Real Zp)
 Creates a point with its 3 cartesian's coordinates : Xp, Yp, Zp.
.
 gp_Pnt (const gp_XYZ &Coord)
 Creates a point with a triplet of coordinates.
.
 gp_Pnt ()
 Creates an indefinite point.
.
Standard_Boolean IsEqual (const gp_Pnt &Other, const Standard_Real LinearTolerance) const
Standard_EXPORT void Mirror (const gp_Ax2 &A2)
Standard_EXPORT void Mirror (const gp_Ax1 &A1)
Standard_EXPORT void Mirror (const gp_Pnt &P)
Standard_EXPORT gp_Pnt Mirrored (const gp_Ax2 &A2) const
Standard_EXPORT gp_Pnt Mirrored (const gp_Ax1 &A1) const
Standard_EXPORT gp_Pnt Mirrored (const gp_Pnt &P) const
void operator delete (void *anAddress)
void * operator new (size_t size)
void * operator new (size_t, void *anAddress)
void Rotate (const gp_Ax1 &A1, const Standard_Real Ang)
gp_Pnt Rotated (const gp_Ax1 &A1, const Standard_Real Ang) const
 Scales a point. S is the scaling value.
.
void Scale (const gp_Pnt &P, const Standard_Real S)
gp_Pnt Scaled (const gp_Pnt &P, const Standard_Real S) const
 Transforms a point with the transformation T.
.
void SetCoord (const Standard_Real Xp, const Standard_Real Yp, const Standard_Real Zp)
 For this point, assigns the values Xp, Yp and Zp to its three coordinates.
.
void SetCoord (const Standard_Integer Index, const Standard_Real Xi)
void SetX (const Standard_Real X)
 Assigns the given value to the X coordinate of this point.
.
void SetXYZ (const gp_XYZ &Coord)
 Assigns the three coordinates of Coord to this point.
.
void SetY (const Standard_Real Y)
 Assigns the given value to the Y coordinate of this point.
.
void SetZ (const Standard_Real Z)
 Assigns the given value to the Z coordinate of this point.
.
Standard_Real SquareDistance (const gp_Pnt &Other) const
 Computes the square distance between two points.
.
Standard_EXPORT void Transform (const gp_Trsf &T)
gp_Pnt Transformed (const gp_Trsf &T) const
void Translate (const gp_Pnt &P1, const gp_Pnt &P2)
void Translate (const gp_Vec &V)
gp_Pnt Translated (const gp_Pnt &P1, const gp_Pnt &P2) const
gp_Pnt Translated (const gp_Vec &V) const
 Translates a point from the point P1 to the point P2.
.
Standard_Real X () const
 For this point, returns its X coordinate.
.
const gp_XYZXYZ () const
 For this point, returns its three coordinates as a number triple.
.
Standard_Real Y () const
 For this point, returns its X coordinate.
.
Standard_Real Z () const
 For this point, returns its X coordinate.
.

Private Attributes

gp_XYZ coord

Friends

Standard_EXPORT friend
Handle_Standard_Type & 
gp_Pnt_Type_ ()

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

Generated by  Doxygen 1.6.0   Back to index