
 gp_Ax3 () 
 Creates an object corresponding to the reference coordinate system (OXYZ). More...


 gp_Ax3 (const gp_Ax2 &theA) 
 Creates a coordinate system from a righthanded coordinate system. More...


 gp_Ax3 (const gp_Pnt &theP, const gp_Dir &theN, const gp_Dir &theVx) 
 Creates a right handed axis placement with the "Location" point theP and two directions, theN gives the "Direction" and theVx gives the "XDirection". Raises ConstructionError if theN and theVx are parallel (same or opposite orientation). More...


 gp_Ax3 (const gp_Pnt &theP, const gp_Dir &theV) 
 Creates an axis placement with the "Location" point <theP> and the normal direction <theV>. More...


void  XReverse () 
 Reverses the X direction of <me>. More...


void  YReverse () 
 Reverses the Y direction of <me>. More...


void  ZReverse () 
 Reverses the Z direction of <me>. More...


void  SetAxis (const gp_Ax1 &theA1) 
 Assigns the origin and "main Direction" of the axis theA1 to this coordinate system, then recomputes its "X Direction" and "Y Direction". Note: More...


void  SetDirection (const gp_Dir &theV) 
 Changes the main direction of this coordinate system, then recomputes its "X Direction" and "Y Direction". Note: More...


void  SetLocation (const gp_Pnt &theP) 
 Changes the "Location" point (origin) of <me>. More...


void  SetXDirection (const gp_Dir &theVx) 
 Changes the "Xdirection" of <me>. The main direction "Direction" is not modified, the "Ydirection" is modified. If <theVx> is not normal to the main direction then <XDirection> is computed as follows XDirection = Direction ^ (theVx ^ Direction). Raises ConstructionError if <theVx> is parallel (same or opposite orientation) to the main direction of <me> More...


void  SetYDirection (const gp_Dir &theVy) 
 Changes the "Ydirection" of <me>. The main direction is not modified but the "Xdirection" is changed. If <theVy> is not normal to the main direction then "YDirection" is computed as follows YDirection = Direction ^ (<theVy> ^ Direction). Raises ConstructionError if <theVy> is parallel to the main direction of <me> More...


Standard_Real  Angle (const gp_Ax3 &theOther) const 
 Computes the angular value between the main direction of <me> and the main direction of <theOther>. Returns the angle between 0 and PI in radians. More...


const gp_Ax1 &  Axis () const 
 Returns the main axis of <me>. It is the "Location" point and the main "Direction". More...


gp_Ax2  Ax2 () const 
 Computes a righthanded coordinate system with the same "X Direction" and "Y Direction" as those of this coordinate system, then recomputes the "main Direction". If this coordinate system is righthanded, the result returned is the same coordinate system. If this coordinate system is lefthanded, the result is reversed. More...


const gp_Dir &  Direction () const 
 Returns the main direction of <me>. More...


const gp_Pnt &  Location () const 
 Returns the "Location" point (origin) of <me>. More...


const gp_Dir &  XDirection () const 
 Returns the "XDirection" of <me>. More...


const gp_Dir &  YDirection () const 
 Returns the "YDirection" of <me>. More...


Standard_Boolean  Direct () const 
 Returns True if the coordinate system is righthanded. i.e. XDirection().Crossed(YDirection()).Dot(Direction()) > 0. More...


Standard_Boolean  IsCoplanar (const gp_Ax3 &theOther, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance) const 
 Returns True if . the distance between the "Location" point of <me> and <theOther> is lower or equal to theLinearTolerance and . the distance between the "Location" point of <theOther> and <me> is lower or equal to theLinearTolerance and . the main direction of <me> and the main direction of <theOther> are parallel (same or opposite orientation). More...


Standard_Boolean  IsCoplanar (const gp_Ax1 &theA1, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance) const 
 Returns True if . the distance between <me> and the "Location" point of theA1 is lower of equal to theLinearTolerance and . the distance between theA1 and the "Location" point of <me> is lower or equal to theLinearTolerance and . the main direction of <me> and the direction of theA1 are normal. More...


void  Mirror (const gp_Pnt &theP) 

gp_Ax3  Mirrored (const gp_Pnt &theP) const 
 Performs the symmetrical transformation of an axis placement with respect to the point theP which is the center of the symmetry. Warnings : The main direction of the axis placement is not changed. The "XDirection" and the "YDirection" are reversed. So the axis placement stay right handed. More...


void  Mirror (const gp_Ax1 &theA1) 

gp_Ax3  Mirrored (const gp_Ax1 &theA1) const 
 Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry. The transformation is performed on the "Location" point, on the "XDirection" and "YDirection". The resulting main "Direction" is the cross product between the "XDirection" and the "YDirection" after transformation. More...


void  Mirror (const gp_Ax2 &theA2) 

gp_Ax3  Mirrored (const gp_Ax2 &theA2) const 
 Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement <theA2> locates the plane of the symmetry : (Location, XDirection, YDirection). The transformation is performed on the "Location" point, on the "XDirection" and "YDirection". The resulting main "Direction" is the cross product between the "XDirection" and the "YDirection" after transformation. More...


void  Rotate (const gp_Ax1 &theA1, const Standard_Real theAng) 

gp_Ax3  Rotated (const gp_Ax1 &theA1, const Standard_Real theAng) const 
 Rotates an axis placement. <theA1> is the axis of the rotation . theAng is the angular value of the rotation in radians. More...


void  Scale (const gp_Pnt &theP, const Standard_Real theS) 

gp_Ax3  Scaled (const gp_Pnt &theP, const Standard_Real theS) const 
 Applies a scaling transformation on the axis placement. The "Location" point of the axisplacement is modified. Warnings : If the scale <theS> is negative : . the main direction of the axis placement is not changed. . The "XDirection" and the "YDirection" are reversed. So the axis placement stay right handed. More...


void  Transform (const gp_Trsf &theT) 

gp_Ax3  Transformed (const gp_Trsf &theT) const 
 Transforms an axis placement with a Trsf. The "Location" point, the "XDirection" and the "YDirection" are transformed with theT. The resulting main "Direction" of <me> is the cross product between the "XDirection" and the "YDirection" after transformation. More...


void  Translate (const gp_Vec &theV) 

gp_Ax3  Translated (const gp_Vec &theV) const 
 Translates an axis plaxement in the direction of the vector <theV>. The magnitude of the translation is the vector's magnitude. More...


void  Translate (const gp_Pnt &theP1, const gp_Pnt &theP2) 

gp_Ax3  Translated (const gp_Pnt &theP1, const gp_Pnt &theP2) const 
 Translates an axis placement from the point <theP1> to the point <theP2>. More...


void  DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=1) const 
 Dumps the content of me into the stream. More...


Standard_Boolean  InitFromJson (const Standard_SStream &theSStream, Standard_Integer &theStreamPos) 
 Inits the content of me from the stream. More...

