Hide menu
Loading...
Searching...
No Matches
cadex::ModelData Namespace Reference

Defines classes, types, enums, and functions related to topological entities and scene graph elements. More...

Classes

class  Assembly
 Defines a group of model element. More...
 
class  Box
 Defines a 3D axis-aligned bounding box. More...
 
class  CombinedElementVisitor
 Provides combined methods VisitEnter() and VisitLeave() to visit all elements. More...
 
class  Edge
 Defines an edge. More...
 
class  Face
 Defines a topological face. More...
 
class  IndexedTriangleSet
 Defines a polygonal shape consisting of triangles. More...
 
class  Instance
 Defines an occurrence of assembly or part in a scene graph. More...
 
class  Model
 Provides MTK data model. More...
 
class  ModelElement
 Base class for part, instance and assembly. More...
 
class  ModelElementIterator
 Iterator over scene graph elements. More...
 
class  ModelElementUniqueVisitor
 Defines a visitor that visits each unique element only once. More...
 
class  ModelElementVisitor
 Defines a visitor of the scene graph elements. More...
 
class  ModelElementVoidVisitor
 Element visitor with empty implementation. More...
 
class  ModelReader
 Reads STEP and native format. More...
 
class  OrientedShapeEqual
 Compares shapes using 'IsEqual' relationship. More...
 
class  OrientedShapeHash
 Hasher for Shape using 'IsEqual' relationship. More...
 
class  Part
 Defines a leaf node in the scene graph hiearchy. More...
 
class  PointSet
 Defines a polygonal shape consisting of individual points. More...
 
class  Polyline2dSet
 Defines a polygonal shape consisting of polylines. More...
 
class  PolylineSet
 Defines a polygonal shape consisting of polylines. More...
 
class  Shape
 Base class of topological shapes. More...
 
class  ShapeIterator
 Iterates over subshapes in a shape. More...
 
class  SheetBody
 Provides a sheet body composed of faces and shells. More...
 
class  Shell
 Defines a connected set of faces. More...
 
class  Solid
 Defines a topological solid. More...
 
class  SolidBody
 Provides a solid body composed of solids. More...
 
class  UnorientedShapeEqual
 Compares shapes using 'IsSame' relationship. More...
 
class  UnorientedShapeHash
 Hasher for Shape using 'IsSame' relationship. More...
 
class  Vertex
 Defines topological vertex. More...
 
class  Wire
 Defines a connected set of edges. More...
 
class  WireframeBody
 Provides a wireframe body composed of edges and wires. More...
 

Enumerations

enum class  ShapeOrientation { Forward , Reversed , Undefined = 0x10 }
 Defines shape orientation.
 
enum class  ShapeType {
  Solid = 2 , Shell , Face , Wire ,
  Edge , Vertex , Undefined
}
 Defines shape type.
 

Functions

Box operator* (const Box &theV, double theVal)
 Returns a box, which is theV scaled by theVal.
 
Box operator/ (const Box &theV, double theVal)
 Returns a box, which is theV scaled by \((1 /\) theVal \()\).
 
void operator*= (Box &theV, double theVal)
 Scales box by scalar value.
 
void operator/= (Box &theV, double theVal)
 Scales box by the inverse of the given value.
 
bool operator== (const Shape &theShape1, const Shape &theShape2)
 Equality operator.
 
bool operator!= (const Shape &theShape1, const Shape &theShape2)
 Non-equality operator.
 

Detailed Description

Defines classes, types, enums, and functions related to topological entities and scene graph elements.

Function Documentation

◆ operator*()

Box cadex::ModelData::operator* ( const Box & theV,
double theVal )

Returns a box, which is theV scaled by theVal.

Returns the result of the scaling transformation of all the points of the box in the form:

\[ P'=\mathrm{theVal}\; P \]

where \(P\) and \(P'\) are the box points before and after transformation respectively and \(\mathrm{theVal}\) is the scale factor.

◆ operator*=()

void cadex::ModelData::operator*= ( Box & theV,
double theVal )

Scales box by scalar value.

Performs the scaling transformation of all the points of the box in the form:

\[ P'=\mathrm{theVal}\; P \]

where \(P\) and \(P'\) are the box points before and after transformation respectively and \(\mathrm{theVal}\) is the scale factor.

◆ operator/()

Box cadex::ModelData::operator/ ( const Box & theV,
double theVal )

Returns a box, which is theV scaled by \((1 /\) theVal \()\).

Returns the result of th scaling transformation of all the points of the box in the form:

\[ P'=\mathrm{theVal}^{-1}\; P \]

where \(P\) and \(P'\) are the box points before and after transformation respectively and \(\mathrm{theVal}^{-1}\) is the scale factor.

◆ operator/=()

void cadex::ModelData::operator/= ( Box & theV,
double theVal )

Scales box by the inverse of the given value.

Performs the scaling transformation of all the points of the box in the form:

\[ P'=\mathrm{theVal}^{-1}\; P \]

where \(P\) and \(P'\) are the box points before and after transformation respectively and \(\mathrm{theVal}^{-1}\) is the scale factor.