Hide menu
Loading...
Searching...
No Matches
cadex::Measurements::BoundingCylinder Class Reference

Computes bounding cylinder of objects. More...

Static Public Member Functions

static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Part &thePart)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Part &thePart, const Geom::Axis1d &theAxis)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Body &theBody)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Computed with the default axis (with \((0,0,0)\) location and \((1,0,0)\) direction) for the MeshBody.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Body &theBody, const Geom::Axis1d &theAxis)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Shape &theShape)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::Shape &theShape, const Geom::Axis1d &theAxis)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::MeshShape &theMeshShape)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Computed with the default axis (with \((0,0,0)\) location and \((1,0,0)\) direction).
 
static Geom::Cylinder ComputeOrientedCylinder (const ModelData::MeshShape &theMeshShape, const Geom::Axis1d &theAxis)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Detailed Description

Computes bounding cylinder of objects.

Bounding cylinder can be computed for the following types of objects:

  • part representation;
  • body (B-Rep or Mesh);
  • shape (B-Rep or mesh).

theAxis parameter specifies on which axis the computed cylinder will be located (in general, the center of the computed cylinder is offset from the location of the given axis).

If theAxis is not specified, it will be calculated based on the geometry of the given object.

Member Function Documentation

◆ ComputeOrientedCylinder() [1/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Body & theBody)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Computed with the default axis (with \((0,0,0)\) location and \((1,0,0)\) direction) for the MeshBody.

◆ ComputeOrientedCylinder() [2/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Body & theBody,
const Geom::Axis1d & theAxis )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ ComputeOrientedCylinder() [3/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::MeshShape & theMeshShape)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Computed with the default axis (with \((0,0,0)\) location and \((1,0,0)\) direction).

◆ ComputeOrientedCylinder() [4/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::MeshShape & theMeshShape,
const Geom::Axis1d & theAxis )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ ComputeOrientedCylinder() [5/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Part & thePart)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ ComputeOrientedCylinder() [6/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Part & thePart,
const Geom::Axis1d & theAxis )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ ComputeOrientedCylinder() [7/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Shape & theShape)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ ComputeOrientedCylinder() [8/8]

Cylinder cadex::Measurements::BoundingCylinder::ComputeOrientedCylinder ( const ModelData::Shape & theShape,
const Geom::Axis1d & theAxis )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.