API Reference > OdGe Classes
OdGe Classes
 
Name 
Description 
 
This class represents mathematical entities used to support various types of spline curves in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class implements a 2D bounding area.
Corresponding C++ library: TD_Ge
 
 
This class implements 3D bounding volumes.
Corresponding C++ library: TD_Ge
 
 
This class represents bounded planes in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class represents arcs and full circles in 2D space.
Corresponding C++ library: TD_Ge
 
 
A mathematical entity used to represent a circular arc in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class defines a planar clipping object for clipping arbitrary 2D polygons or polylines to 2D convex open or closed polyline curves or rectangles.
Corresponding C++ library: TD_Ge
 
 
This class represents composite curves in 2D space. 
 
This class represents composite curves in 3D space. 
 
This class represents right circular cones. 
 
This class represents 2D interpolation cubic spline curves. Currently not implemented.
Corresponding C++ library: TD_Ge
 
 
This class represents 3D interpolation cubic spline curves. Currently not implemented.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for all OdGe 2D curves.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for all OdGe 3D curves.
Corresponding C++ library: TD_Ge
 
 
This class represents the boundary geometry (face loops) on a bounded surface. 
 
This class represents intersections of 2D curves. 
 
This class represents intersections of 3D curves. 
 
This class represents intersections of 3d curves and surfaces. 
 
This class represents right circular cylinders. 
 
This class represents elliptical arcs and full ellipses in 2D space. 
 
This class represents 3D elliptical arcs and full ellipses in 3D space. 
 
This class represents right elliptical cones. 
 
This class represents cylinders with an elliptical cross-section. 
 
This class is the base class for all OdGe 2D geometric operations.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for all OdGe 3D geometric operations.
Corresponding C++ library: TD_Ge
 
 
This class represents 2D bounding boxes as minimum and maximum 2d points.
Corresponding C++ library: TD_Ge
 
 
This class represents 3D bounding boxes as minimum and maximum 3d points.
Corresponding C++ library: TD_Ge
 
 
This class represents bounded surfaces, whose definitions are external to the OdGe library. 
 
This class represents, as OdGeCurve2d curves, 2D curves whose definitions are external to the OdGe library. 
 
This class represents, as OdGeCurve3d curves, 3D curves whose definitions are external to the OdGe library. 
 
This class represents unbounded surfaces, whose definitions are external to the OdGe library, as OdGeSurface. 
 
This class represents a finite, infinite, or semi-infinite interval as the real axis.
Corresponding C++ library: TD_Ge
 
 
This class represents an ordered series of monotonically increasing doubles used by spline entities.
Corresponding C++ library: TD_Ge
 
 
This class provides management of GeLib versions.
Corresponding C++ library: TD_Ge
 
 
This class represents infinite lines in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents infinite lines in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for OdGe 2D linear entities.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for OdGe 3D linear entities.
Corresponding C++ library: TD_Ge
 
 
This class represents line segments in 2D space. 2D line segment can be defined with a start and end points or with a point and a non-zero vector that specifies segment length and direction. By default its start parameter equals to 0.0 and end parameter equals to 1.0.
Corresponding C++ library: TD_Ge
 
 
This class represents line segments in 3D space. 3D line segment can be defined with a start and end points or with a point and a non-zero vector that specifies segment length and direction. By default its start parameter equals to 0.0 and end parameter equals to 1.0.
Corresponding C++ library: TD_Ge
 
 
This class represents 2D transformation matrices that define affine ( translation, rotation, and/or scaling ) transformations. 
 
This class represents 3D transformation matrices that define affine ( translation, rotation, and/or scaling ) transformations. 
 
This class represents non-uniform rational B-splines (NURBS) in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents non-uniform rational B-splines (NURBS) in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class represents non-uniform, rational B-Spline (NURBS) surfaces.
Corresponding C++ library: TD_Ge
 
 
This class represents 2D curves that are exact offsets of other curves. 
 
This class represents 3D curves that are exact offsets of other curves. 
 
This class represents surfaces that are exact offsets of other surfaces.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for all OdGe planes in 3D space. 
 
This class represents infinite planes in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class represents points (locations) in 2D space. 
 
This class represents points (locations) in 3D space. 
 
This class is the base class for all OdGe 2D point classes.
Corresponding C++ library: TD_Ge
 
 
This class is the base class for all OdGe 3D point classes.
Corresponding C++ library: TD_Ge
 
 
This class represents points along 2D curves. 
 
This class represents points along 3D curves.
Corresponding C++ library: TD_Ge
 
 
This class represents points on surfaces.
Corresponding C++ library: TD_Ge
 
 
This class represents piecewise linear splines in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents piecewise linear splines in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class represents points (positions) in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents points (positions) in 3D space.
Corresponding C++ library: TD_Ge
 
 
This class represents a rotation quaternion in 3D space. Quaternions provide a convenient mathematical notation for representing orientations and rotations of objects in three dimensions. Quaternions resolve the problem of "gimbal locks".
The quaternion consists of 2 components:
  1. Component of rotation (WW)
  2. Components of rotation axis (XX, YY, ZZ)

To define quaternion components, use following formulas: XX = x*sin(angle/2) YY = y*sin(angle/2) ZZ = z*sin(angle/2) WW = cos(angle/2),
where angle is angle of desired rotation specified in radians, x, y, z - components of a 3D unit vector that represents axis of rotation. For example, a quaternion that rotates 1.5... more 
 
This class represents semi-infinite lines in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents semi-infinite lines in 3D space.
Corresponding C++ library: TD_Ge
 
 
A revolved surface has a parametric representation of the form: retPnt(u, v) = P + C(u).x * (XVec * cos(v) + YVec * sin(v)) + C(u).z * A where
  • C(u) is the profile curve. Curve controls only 2 parameters - the height and the distance from the axis
  • P is the origin of the surface
  • A is the axis of the surface
  • XVec, YVec are the unit vectors for the rotated curve.

For internal use only.
Library: TD_Ge
 
 
If both curves are valid, the parametric equation for this surface is :  
 
This class represents scaling transformations (scale vectors) in 2D space. 
 
This class represents scaling transformations (scale vectors) in 3D space. 
 
This class represents piecewise linear splines in 2D space.
Corresponding C++ library: TD_Ge
 
 
This class represents shell primitives. 
 
This class represents spheres. 
 
This class represents various spline objects in 2D space. Currently not implemented.
Corresponding C++ library: TD_Ge
 
 
This class represents various spline objects in 3D space. Currently not implemented.
Corresponding C++ library: TD_Ge
 
 
A spun surface has a parametric representation of the form: R( u, v ) = Z( u ) + ( C( u ) - Z( u ))cos( v ) + A X ( C( u ) - Z( u ) ) sin( v) where
  • C(u) is the profile curve
  • Z(u) is the projection of C(u) onto the spin axis
  • A is the spin axis direction (unit vector)
  • C must not be an intersection curve or a trimmed curve
 
 
This class is the base class for all OdGe parametric surfaces.
Corresponding C++ library: TD_Ge
 
 
This class provides a 3D representation for curves defined in the 2D surface parameter space. 
 
This class holds the intersection data of two surfaces. 
 
This class is an optimized memory holder for management of contours and vertex memory. 
 
This class represents tolerances for vectors or points coincidence. For evaluating points and vectors OdGeTol stores the equalPoint and equalVector values which are used as follows:
  1. Two points, p1 and p2, are equal if (p1 - p2).length() <= equalPoint.
  2. Two vectors, v1 and v2, are equal if (v1 - v2).length() <= equalVector.
  3. Two vectors, v1 and v2, are parallel if v1/v1.length() - v2/v2.length()).length() < equalVector OR (v1/v1.length() + v2/v2.length()).length() < equalVector.
  4. Two vectors, v1 and v2, are perpendicular if abs((v1.dotProduct(v2))/(v1.length()*v2.length())) <= equalVector.
  5. Two lines or rays are parallel (or perpendicular) if their directional vectors are parallel (or perpendicular).

Corresponding C++... more 
 
This class represents toroidal segments. 
 
This class represents vectors in 2D space. 
 
This class represents vectors in 3D space. 
 
Name 
Description 
 
OdGe 
The OdGe classes are used to carry out general 2D and 3D geometric operations.
Corresponding C++ library: TD_Ge
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.