AnyCAD Rapid SDK
2020
The Rapid CAD SDK

Public Member Functions  
synchronized void  delete () 
GAx1 ()  
GAx1 (GPnt P, GDir V)  
void  SetDirection (GDir V) 
void  SetLocation (GPnt P) 
GDir  Direction () 
GPnt  Location () 
boolean  IsCoaxial (GAx1 Other, double AngularTolerance, double LinearTolerance) 
boolean  IsNormal (GAx1 Other, double AngularTolerance) 
boolean  IsOpposite (GAx1 Other, double AngularTolerance) 
boolean  IsParallel (GAx1 Other, double AngularTolerance) 
double  Angle (GAx1 Other) 
void  Reverse () 
GAx1  Reversed () 
void  Mirror (GPnt P) 
GAx1  Mirrored (GPnt P) 
void  Mirror (GAx1 A1) 
GAx1  Mirrored (GAx1 A1) 
void  Mirror (GAx2 A2) 
GAx1  Mirrored (GAx2 A2) 
void  Rotate (GAx1 A1, double Ang) 
GAx1  Rotated (GAx1 A1, double Ang) 
void  Scale (GPnt P, double S) 
GAx1  Scaled (GPnt P, double S) 
void  Transform (GTrsf T) 
GAx1  Transformed (GTrsf T) 
void  Translate (GVec V) 
GAx1  Translated (GVec V) 
void  Translate (GPnt P1, GPnt P2) 
GAx1  Translated (GPnt P1, GPnt P2) 
Protected Member Functions  
GAx1 (long cPtr, boolean cMemoryOwn)  
void  finalize () 
Static Protected Member Functions  
static long  getCPtr (GAx1 obj) 
Protected Attributes  
transient boolean  swigCMemOwn 
Describes an axis in 3D space. An axis is defined by:  its origin (also referred to as its "Location point"), and  its unit vector (referred to as its "Direction" or "main Direction"). An axis is used:  to describe 3D geometric entities (for example, the axis of a revolution entity). It serves the same purpose as the STEP function "axis placement one axis", or  to define geometric transformations (axis of symmetry, axis of rotation, and so on). For example, this entity can be used to locate a geometric entity or to define a symmetry axis.
GAx1.GAx1  (  ) 
Creates an axis object representing Z axis of the reference coordinate system.
double GAx1.Angle  (  GAx1  Other  ) 
Computes the angular value, in radians, between <me>.Direction() and <Other>.Direction(). Returns the angle between 0 and 2*PI radians.
GDir GAx1.Direction  (  ) 
Returns the direction of <me>.
boolean GAx1.IsCoaxial  (  GAx1  Other, 
double  AngularTolerance,  
double  LinearTolerance  
) 
Returns True if : . the angle between <me> and <Other> is lower or equal to <AngularTolerance> and . the distance between <me>.Location() and <Other> is lower or equal to <LinearTolerance> and . the distance between <Other>.Location() and <me> is lower or equal to LinearTolerance.
boolean GAx1.IsNormal  (  GAx1  Other, 
double  AngularTolerance  
) 
Returns True if the direction of the <me> and <Other> are normal to each other. That is, if the angle between the two axes is equal to Pi/2. Note: the tolerance criterion is given by AngularTolerance..
boolean GAx1.IsOpposite  (  GAx1  Other, 
double  AngularTolerance  
) 
Returns True if the direction of <me> and <Other> are parallel with opposite orientation. That is, if the angle between the two axes is equal to Pi. Note: the tolerance criterion is given by AngularTolerance.
boolean GAx1.IsParallel  (  GAx1  Other, 
double  AngularTolerance  
) 
Returns True if the direction of <me> and <Other> are parallel with same orientation or opposite orientation. That is, if the angle between the two axes is equal to 0 or Pi. Note: the tolerance criterion is given by AngularTolerance.
GPnt GAx1.Location  (  ) 
Returns the location point of <me>.
void GAx1.Mirror  (  GPnt  P  ) 
Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry and assigns the result to this axis.
void GAx1.Mirror  (  GAx1  A1  ) 
Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry and assigns the result to this axis.
void GAx1.Mirror  (  GAx2  A2  ) 
Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement <A2> locates the plane of the symmetry : (Location, XDirection, YDirection) and assigns the result to this axis.
Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry and creates a new axis.
Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry and creates a new axis.
Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement <A2> locates the plane of the symmetry : (Location, XDirection, YDirection) and creates a new axis.
void GAx1.Reverse  (  ) 
Reverses the unit vector of this axis. and assigns the result to this axis.
GAx1 GAx1.Reversed  (  ) 
Reverses the unit vector of this axis and creates a new one.
void GAx1.Rotate  (  GAx1  A1, 
double  Ang  
) 
Rotates this axis at an angle Ang (in radians) about the axis A1 and assigns the result to this axis.
Rotates this axis at an angle Ang (in radians) about the axis A1 and creates a new one.
void GAx1.Scale  (  GPnt  P, 
double  S  
) 
Applies a scaling transformation to this axis with:  scale factor S, and  center P and assigns the result to this axis.
Applies a scaling transformation to this axis with:  scale factor S, and  center P and creates a new axis.
void GAx1.SetDirection  (  GDir  V  ) 
Assigns V as the "Direction" of this axis.
void GAx1.SetLocation  (  GPnt  P  ) 
Assigns P as the origin of this axis.
void GAx1.Transform  (  GTrsf  T  ) 
Applies the transformation T to this axis. and assigns the result to this axis.
Applies the transformation T to this axis and creates a new one. Translates an axis plaxement in the direction of the vector <V>. The magnitude of the translation is the vector's magnitude.
void GAx1.Translate  (  GVec  V  ) 
Translates this axis by the vector V, and assigns the result to this axis.
Translates this axis by: the vector (P1, P2) defined from point P1 to point P2. and assigns the result to this axis.