|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Graphic2d_Vertex () |
| Creates a point with 0.0, 0.0 coordinates.
.
|
Standard_EXPORT | Graphic2d_Vertex (const Standard_Real AX, const Standard_Real AY) |
| Creates a point with <ax>, <ay> coordinates.
.
|
Standard_EXPORT | Graphic2d_Vertex (const Standard_ShortReal AX, const Standard_ShortReal AY) |
| Creates a point with <ax>, <ay> coordinates.
.
|
Standard_EXPORT void | SetCoord (const Quantity_Length Xnew, const Quantity_Length Ynew) |
| Modifies the coordinates of the point <me>.
.
|
Standard_EXPORT void | SetXCoord (const Quantity_Length Xnew) |
| Modifies the X coordinate of the point <me>.
.
|
Standard_EXPORT void | SetYCoord (const Quantity_Length Ynew) |
| Modifies the Y coordinate of the point <me>.
.
|
Standard_EXPORT void | Coord (Quantity_Length &AX, Quantity_Length &AY) const |
| Returns the coordinates of the point <me>.
.
|
Standard_EXPORT Quantity_Length | X () const |
| Returns the X coordinates of the point <me>.
.
|
Standard_EXPORT Quantity_Length | Y () const |
| Returns the Y coordinate of the point <me>.
.
|
Standard_EXPORT Standard_Boolean | IsEqual (const Graphic2d_Vertex &other) const |
| Test if <me> and <other> are the the same vertex.
.
|
Standard_Boolean | operator== (const Graphic2d_Vertex &other) const |
Static Public Member Functions |
static Standard_EXPORT Quantity_Length | Distance (const Graphic2d_Vertex &AV1, const Graphic2d_Vertex &AV2) |
| Returns the distance between <av1> and <av2>.
.
|
Private Attributes |
Standard_ShortReal | myX |
Standard_ShortReal | myY |