Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
gp Class Reference

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. This is a utility class that cannot be instantiated. More...

#include <gp.hxx>

Static Public Member Functions

static constexpr double Resolution ()
 Method of package gp.
 
static const gp_PntOrigin () noexcept
 Identifies a Cartesian point with coordinates X = Y = Z = 0.0.0.
 
static const gp_DirDX () noexcept
 Returns a unit vector with the combination (1,0,0)
 
static const gp_DirDY () noexcept
 Returns a unit vector with the combination (0,1,0)
 
static const gp_DirDZ () noexcept
 Returns a unit vector with the combination (0,0,1)
 
static const gp_Ax1OX () noexcept
 Identifies an axis where its origin is Origin and its unit vector coordinates X = 1.0, Y = Z = 0.0.
 
static const gp_Ax1OY () noexcept
 Identifies an axis where its origin is Origin and its unit vector coordinates Y = 1.0, X = Z = 0.0.
 
static const gp_Ax1OZ () noexcept
 Identifies an axis where its origin is Origin and its unit vector coordinates Z = 1.0, Y = X = 0.0.
 
static const gp_Ax2XOY () noexcept
 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 const gp_Ax2ZOX () noexcept
 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.
 
static const gp_Ax2YOZ () noexcept
 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 const gp_Pnt2dOrigin2d () noexcept
 Identifies a Cartesian point with coordinates X = Y = 0.0.
 
static const gp_Dir2dDX2d () noexcept
 Returns a unit vector with the combinations (1,0)
 
static const gp_Dir2dDY2d () noexcept
 Returns a unit vector with the combinations (0,1)
 
static const gp_Ax2dOX2d () noexcept
 Identifies an axis where its origin is Origin2d and its unit vector coordinates are: X = 1.0, Y = 0.0.
 
static const gp_Ax2dOY2d () noexcept
 Identifies an axis where its origin is Origin2d and its unit vector coordinates are Y = 1.0, X = 0.0.
 

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. This is a utility class that cannot be instantiated.

Member Function Documentation

◆ DX()

static const gp_Dir & gp::DX ( )
staticnoexcept

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

◆ DX2d()

static const gp_Dir2d & gp::DX2d ( )
staticnoexcept

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

◆ DY()

static const gp_Dir & gp::DY ( )
staticnoexcept

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

◆ DY2d()

static const gp_Dir2d & gp::DY2d ( )
staticnoexcept

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

◆ DZ()

static const gp_Dir & gp::DZ ( )
staticnoexcept

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

◆ Origin()

static const gp_Pnt & gp::Origin ( )
staticnoexcept

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

◆ Origin2d()

static const gp_Pnt2d & gp::Origin2d ( )
staticnoexcept

Identifies a Cartesian point with coordinates X = Y = 0.0.

◆ OX()

static const gp_Ax1 & gp::OX ( )
staticnoexcept

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

◆ OX2d()

static const gp_Ax2d & gp::OX2d ( )
staticnoexcept

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

◆ OY()

static const gp_Ax1 & gp::OY ( )
staticnoexcept

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

◆ OY2d()

static const gp_Ax2d & gp::OY2d ( )
staticnoexcept

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

◆ OZ()

static const gp_Ax1 & gp::OZ ( )
staticnoexcept

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

◆ Resolution()

static constexpr double gp::Resolution ( )
inlinestaticconstexpr

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().

◆ XOY()

static const gp_Ax2 & gp::XOY ( )
staticnoexcept

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.

◆ YOZ()

static const gp_Ax2 & gp::YOZ ( )
staticnoexcept

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.

◆ ZOX()

static const gp_Ax2 & gp::ZOX ( )
staticnoexcept

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.


The documentation for this class was generated from the following file: