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

Computes bounding cylinder of objects. More...

Inherits global.SystemIDisposable.

Public Member Functions

 BoundingCylinder (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Part thePart)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Part thePart, cadex.Geom.Axis1d theAxis)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Body theBody)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Body theBody, cadex.Geom.Axis1d theAxis)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Shape theShape)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Shape theShape, cadex.Geom.Axis1d theAxis)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.MeshShape theMeshShape)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.MeshShape theMeshShape, cadex.Geom.Axis1d theAxis)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

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.