Computes the volume of objects. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| Volume (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
Static Public Member Functions | |
| static double | Compute (cadex.ModelData.Model theModel) |
| Computes the volume of the model. | |
| static double | Compute (cadex.ModelData.ModelElement theElement) |
| Computes the volume of the model element. | |
| static double | Compute (cadex.ModelData.Body theBody) |
| Computes the volume of the body. | |
| static double | Compute (cadex.ModelData.Shape theShape) |
| Computes the volume of the shape. | |
| static double | Compute (cadex.ModelData.IndexedTriangleSet theITS) |
| Computes the volume of the indexed triangle set. | |
| static double | Compute (cadex.Machining_Hole theHole) |
| Returns the removed material volume of theHole in mm^3 or -1.0 upon failure. | |
| static double | Compute (cadex.Machining_Countersink theCountersink) |
| Returns the removed material volume of theCountersink in mm^3 or -1.0 upon failure. | |
| static double | Compute (cadex.Machining_Pocket thePocket) |
| Returns the removed material volume of thePocket in mm^3 or -1.0 upon failure. | |
| static double | Compute (cadex.SheetMetal_Hole theHole, cadex.SheetMetal_FlatPattern theFlatPattern) |
| Returns the removed material volume of theHole in mm^3 or -1.0 upon failure. | |
| static double | Compute (cadex.SheetMetal_Cutout theCutout, cadex.SheetMetal_FlatPattern theFlatPattern) |
| Returns the removed material volume of theCutout in mm^3 or -1.0 upon failure. | |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Computes the volume of objects.
Volume can be computed for an entire model, a model graph element (assembly/part/instance), a solid body, a shape, an indexed triangle set, or manufacturing features.
For manufacturing features, the returned value represents the removed material volume in mm^3, or -1.0 if the computation fails.
Depending on the object contents, the volume may not be computable. For instance, volume cannot be computed for sheet or wireframe bodies.
|
inlinestatic |
Returns the removed material volume of theCountersink in mm^3 or -1.0 upon failure.
|
inlinestatic |
Returns the removed material volume of theHole in mm^3 or -1.0 upon failure.
|
inlinestatic |
Returns the removed material volume of thePocket in mm^3 or -1.0 upon failure.
|
inlinestatic |
Computes the volume of the body.
|
inlinestatic |
Computes the volume of the indexed triangle set.
|
inlinestatic |
Computes the volume of the model.
|
inlinestatic |
Computes the volume of the model element.
|
inlinestatic |
Computes the volume of the shape.
|
inlinestatic |
Returns the removed material volume of theCutout in mm^3 or -1.0 upon failure.
|
inlinestatic |
Returns the removed material volume of theHole in mm^3 or -1.0 upon failure.