#include <Geom_Direction.hxx>
Inheritance diagram for Geom_Direction:

Public Member Functions | |
| Standard_EXPORT | Geom_Direction (const Standard_Real X, const Standard_Real Y, const Standard_Real Z) |
| Creates a unit vector with it 3 cartesian coordinates. Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. . | |
| Standard_EXPORT | Geom_Direction (const gp_Dir &V) |
| Creates a transient copy of <me>. . | |
| Standard_EXPORT void | SetCoord (const Standard_Real X, const Standard_Real Y, const Standard_Real Z) |
| Sets <me> to X,Y,Z coordinates. Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. . | |
| Standard_EXPORT void | SetDir (const gp_Dir &V) |
| Converts the gp_Dir unit vector V into this unit vector. . | |
| Standard_EXPORT void | SetX (const Standard_Real X) |
| Changes the X coordinate of <me>. Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. . | |
| Standard_EXPORT void | SetY (const Standard_Real Y) |
| Changes the Y coordinate of <me>. Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. . | |
| Standard_EXPORT void | SetZ (const Standard_Real Z) |
| Changes the Z coordinate of <me>. Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. . | |
| Standard_EXPORT gp_Dir | Dir () const |
| Returns the non transient direction with the same coordinates as <me>. . | |
| Standard_EXPORT Standard_Real | Magnitude () const |
| returns 1.0 which is the magnitude of any unit vector. | |
| Standard_EXPORT Standard_Real | SquareMagnitude () const |
| returns 1.0 which is the square magnitude of any unit vector. | |
| Standard_EXPORT void | Cross (const Handle(Geom_Vector)&Other) |
| Computes the cross product between <me> and <other>. Raised if the two vectors are parallel because it is not possible to have a direction with null length. . | |
| Standard_EXPORT void | CrossCross (const Handle(Geom_Vector)&V1, const Handle(Geom_Vector)&V2) |
| Computes the triple vector product <me> ^(V1 ^ V2). Raised if V1 and V2 are parallel or <me> and (V1 ^ V2) are parallel . | |
| Standard_EXPORT Handle_Geom_Vector | Crossed (const Handle(Geom_Vector)&Other) const |
| Computes the cross product between <me> and <other>. A new direction is returned. Raised if the two vectors are parallel because it is not possible to have a direction with null length. . | |
| Standard_EXPORT Handle_Geom_Vector | CrossCrossed (const Handle(Geom_Vector)&V1, const Handle(Geom_Vector)&V2) const |
| Computes the triple vector product <me> ^(V1 ^ V2). Raised if V1 and V2 are parallel or <me> and (V1 ^ V2) are parallel . | |
| Standard_EXPORT void | Transform (const gp_Trsf &T) |
| Applies the transformation T to this unit vector, then normalizes it. . | |
| Standard_EXPORT Handle_Geom_Geometry | Copy () const |
| Creates a new object which is a copy of this unit vector. . | |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
|
||||||||||||||||
|
|
|
|
|
|
|
Implements Geom_Geometry. |
|
|
Implements Geom_Vector. |
|
||||||||||||
|
Implements Geom_Vector. |
|
||||||||||||
|
Implements Geom_Vector. |
|
|
Implements Geom_Vector. |
|
|
|
|
|
Reimplemented from Geom_Vector. |
|
|
Implements Geom_Vector. |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements Geom_Vector. |
|
|
Implements Geom_Geometry. |
1.4.1