Open CASCADE Technology
6.5.4
|
The abstract class Point describes the common
behavior of geometric points in 2D space.
The Geom2d package also provides the concrete
class Geom2d_CartesianPoint.
#include <Geom2d_Point.hxx>
Public Member Functions | |
virtual void | Coord (Standard_Real &X, Standard_Real &Y) const =0 |
returns the Coordinates of <me>. | |
virtual gp_Pnt2d | Pnt2d () const =0 |
returns a non persistent 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>. | |
Standard_Real | Distance (const Handle< Geom2d_Point > &Other) const |
computes the distance between <me> and <Other>. | |
Standard_Real | SquareDistance (const Handle< Geom2d_Point > &Other) const |
computes the square distance between <me> and <Other>. |
virtual void Geom2d_Point::Coord | ( | Standard_Real & | X, |
Standard_Real & | Y | ||
) | const [pure virtual] |
Implemented in Geom2d_CartesianPoint.
Standard_Real Geom2d_Point::Distance | ( | const Handle< Geom2d_Point > & | Other | ) | const |
virtual gp_Pnt2d Geom2d_Point::Pnt2d | ( | ) | const [pure virtual] |
Implemented in Geom2d_CartesianPoint.
Standard_Real Geom2d_Point::SquareDistance | ( | const Handle< Geom2d_Point > & | Other | ) | const |
virtual Standard_Real Geom2d_Point::X | ( | ) | const [pure virtual] |
Implemented in Geom2d_CartesianPoint.
virtual Standard_Real Geom2d_Point::Y | ( | ) | const [pure virtual] |
Implemented in Geom2d_CartesianPoint.