Open CASCADE Technology
6.5.4
|
The abstract class Point describes the common
behavior of geometric points in 3D space.
The Geom package also provides the concrete class
Geom_CartesianPoint.
#include <Geom_Point.hxx>
Public Member Functions | |
virtual void | Coord (Standard_Real &X, Standard_Real &Y, Standard_Real &Z) const =0 |
returns the Coordinates of <me>. | |
virtual gp_Pnt | Pnt () const =0 |
returns a non transient copy of <me> | |
virtual Standard_Real | X () const =0 |
returns the X coordinate of <me>. | |
virtual Standard_Real | Y () const =0 |
returns the Y coordinate of <me>. | |
virtual Standard_Real | Z () const =0 |
returns the Z coordinate of <me>. | |
Standard_Real | Distance (const Handle< Geom_Point > &Other) const |
Computes the distance between <me> and <Other>. | |
Standard_Real | SquareDistance (const Handle< Geom_Point > &Other) const |
Computes the square distance between <me> and <Other>. |
virtual void Geom_Point::Coord | ( | Standard_Real & | X, |
Standard_Real & | Y, | ||
Standard_Real & | Z | ||
) | const [pure virtual] |
Implemented in Geom_CartesianPoint.
Standard_Real Geom_Point::Distance | ( | const Handle< Geom_Point > & | Other | ) | const |
virtual gp_Pnt Geom_Point::Pnt | ( | ) | const [pure virtual] |
Implemented in Geom_CartesianPoint.
Standard_Real Geom_Point::SquareDistance | ( | const Handle< Geom_Point > & | Other | ) | const |
virtual Standard_Real Geom_Point::X | ( | ) | const [pure virtual] |
Implemented in Geom_CartesianPoint.
virtual Standard_Real Geom_Point::Y | ( | ) | const [pure virtual] |
Implemented in Geom_CartesianPoint.
virtual Standard_Real Geom_Point::Z | ( | ) | const [pure virtual] |
Implemented in Geom_CartesianPoint.