AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
GP Class Reference

Public Member Functions

synchronized void delete ()
 

Static Public Member Functions

static double Resolution ()
 
static GPnt Origin ()
 
static GDir DX ()
 
static GDir DY ()
 
static GDir DZ ()
 
static GAx1 OX ()
 
static GAx1 OY ()
 
static GAx1 OZ ()
 
static GAx2 XOY ()
 
static GAx2 ZOX ()
 
static GAx2 YOZ ()
 
static GPnt2d Origin2d ()
 
static GDir2d DX2d ()
 
static GDir2d DY2d ()
 
static GAx2d OX2d ()
 
static GAx2d OY2d ()
 

Protected Member Functions

 GP (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (GP obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

The geometric processor package, called gp, provides an implementation of entities used : . for algebraic calculation such as "XYZ" coordinates, "Mat" matrix . for basis analytic geometry such as Transformations, point, vector, line, plane, axis placement, conics, and elementary surfaces. These entities are defined in 2d and 3d space. All the classes of this package are non-persistent.

Member Function Documentation

static GDir GP.DX ( )
static

Returns a unit vector with the combination (1,0,0)

static GDir2d GP.DX2d ( )
static

Returns a unit vector with the combinations (1,0)

static GDir GP.DY ( )
static

Returns a unit vector with the combination (0,1,0)

static GDir2d GP.DY2d ( )
static

Returns a unit vector with the combinations (0,1)

static GDir GP.DZ ( )
static

Returns a unit vector with the combination (0,0,1)

static GPnt GP.Origin ( )
static

Identifies a Cartesian point with coordinates X = Y = Z = 0.0.0

static GPnt2d GP.Origin2d ( )
static

Identifies a Cartesian point with coordinates X = Y = 0.0

static GAx1 GP.OX ( )
static

Identifies an axis where its origin is Origin and its unit vector coordinates X = 1.0, Y = Z = 0.0

static GAx2d GP.OX2d ( )
static

Identifies an axis where its origin is Origin2d and its unit vector coordinates are: X = 1.0, Y = 0.0

static GAx1 GP.OY ( )
static

Identifies an axis where its origin is Origin and its unit vector coordinates Y = 1.0, X = Z = 0.0

static GAx2d GP.OY2d ( )
static

Identifies an axis where its origin is Origin2d and its unit vector coordinates are Y = 1.0, X = 0.0

static GAx1 GP.OZ ( )
static

Identifies an axis where its origin is Origin and its unit vector coordinates Z = 1.0, Y = X = 0.0

static double GP.Resolution ( )
static

Method of package gp In geometric computations, defines the tolerance criterion used to determine when two numbers can be considered equal. Many class functions use this tolerance criterion, for example, to avoid division by zero in geometric computations. In the documentation, tolerance criterion is always referred to as gp::Resolution().

static GAx2 GP.XOY ( )
static

Identifies a coordinate system where its origin is Origin, and its "main Direction" and "X Direction" coordinates Z = 1.0, X = Y =0.0 and X direction coordinates X = 1.0, Y = Z = 0.0

static GAx2 GP.YOZ ( )
static

Identifies a coordinate system where its origin is Origin, and its "main Direction" and "X Direction" coordinates X = 1.0, Z = Y =0.0 and X direction coordinates Y = 1.0, X = Z = 0.0 In 2D space

static GAx2 GP.ZOX ( )
static

Identifies a coordinate system where its origin is Origin, and its "main Direction" and "X Direction" coordinates Y = 1.0, X = Z =0.0 and X direction coordinates Z = 1.0, X = Y = 0.0