#include <Geom2d_Vector.hxx>
Inheritance diagram for Geom2d_Vector:
Public Member Functions | |
Standard_EXPORT void | Reverse () |
Reverses the vector <me>. . | |
Standard_EXPORT Handle_Geom2d_Vector | Reversed () const |
Returns a copy of <me> reversed. . | |
Standard_EXPORT Standard_Real | Angle (const Handle(Geom2d_Vector)&Other) const |
Computes the angular value, in radians, between this vector and vector Other. The result is a value between -Pi and Pi. The orientation is from this vector to vector Other. Raises VectorWithNullMagnitude if one of the two vectors is a vector with null magnitude because the angular value is indefinite. . | |
Standard_EXPORT void | Coord (Standard_Real &X, Standard_Real &Y) const |
Returns the coordinates of <me>. . | |
virtual Standard_EXPORT Standard_Real | Magnitude () const =0 |
Returns the Magnitude of <me>. . | |
virtual Standard_EXPORT Standard_Real | SquareMagnitude () const =0 |
Returns the square magnitude of <me>. . | |
Standard_EXPORT Standard_Real | X () const |
Returns the X coordinate of <me>. . | |
Standard_EXPORT Standard_Real | Y () const |
Returns the Y coordinate of <me>. . | |
virtual Standard_EXPORT Standard_Real | Crossed (const Handle(Geom2d_Vector)&Other) const =0 |
Cross product of <me> with the vector <other>. . | |
Standard_EXPORT Standard_Real | Dot (const Handle(Geom2d_Vector)&Other) const |
Returns the scalar product of 2 Vectors. . | |
Standard_EXPORT gp_Vec2d | Vec2d () const |
Returns a non persistent copy of <me>. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Attributes | |
gp_Vec2d | gpVec2d |
|
|
|
|
|
Implemented in Geom2d_Direction, and Geom2d_VectorWithMagnitude. |
|
|
|
Reimplemented from Geom2d_Geometry. Reimplemented in Geom2d_Direction, and Geom2d_VectorWithMagnitude. |
|
Implemented in Geom2d_Direction, and Geom2d_VectorWithMagnitude. |
|
|
|
|
|
Implemented in Geom2d_Direction, and Geom2d_VectorWithMagnitude. |
|
|
|
|
|
|
|
|