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)
 Computes an oriented bounding cylinder of the part.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Part thePart, cadex.Geom.Axis1d theAxis)
 Computes an oriented bounding cylinder of the part using the specified axis.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Body theBody)
 Computes an oriented bounding cylinder of the body.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Body theBody, cadex.Geom.Axis1d theAxis)
 Computes an oriented bounding cylinder of the body using the specified axis.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Shape theShape)
 Computes an oriented bounding cylinder of the shape.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.Shape theShape, cadex.Geom.Axis1d theAxis)
 Computes an oriented bounding cylinder of the shape using the specified axis.
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.MeshShape theMeshShape)
 
static cadex.Geom.Cylinder ComputeOrientedCylinder (cadex.ModelData.MeshShape theMeshShape, cadex.Geom.Axis1d theAxis)
 Computes an oriented bounding cylinder of the mesh shape using the specified axis.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Computes bounding cylinder of objects.

Bounding cylinder can be computed for:

  • 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. For mesh bodies and mesh shapes, the default axis is used.

Member Function Documentation

◆ ComputeOrientedCylinder() [1/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Body theBody)
inlinestatic

Computes an oriented bounding cylinder of the body.

Computes with the default axis (with \((0,0,0)\) location and \((1,0,0)\) direction) if theBody is mesh body.

◆ ComputeOrientedCylinder() [2/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Body theBody,
cadex.Geom.Axis1d theAxis )
inlinestatic

Computes an oriented bounding cylinder of the body using the specified axis.

◆ ComputeOrientedCylinder() [3/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.MeshShape theMeshShape,
cadex.Geom.Axis1d theAxis )
inlinestatic

Computes an oriented bounding cylinder of the mesh shape using the specified axis.

◆ ComputeOrientedCylinder() [4/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Part thePart)
inlinestatic

Computes an oriented bounding cylinder of the part.

◆ ComputeOrientedCylinder() [5/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Part thePart,
cadex.Geom.Axis1d theAxis )
inlinestatic

Computes an oriented bounding cylinder of the part using the specified axis.

◆ ComputeOrientedCylinder() [6/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Shape theShape)
inlinestatic

Computes an oriented bounding cylinder of the shape.

◆ ComputeOrientedCylinder() [7/7]

static cadex.Geom.Cylinder cadex.Measurements.BoundingCylinder.ComputeOrientedCylinder ( cadex.ModelData.Shape theShape,
cadex.Geom.Axis1d theAxis )
inlinestatic

Computes an oriented bounding cylinder of the shape using the specified axis.