Base abstract class for geometric shapes.

Instance Variables

  • transient long CoreModeler.Geometry.Shape.swigCPtr
  • transient boolean CoreModeler.Geometry.Shape.swigCMemOwn

Methods

Shape

CoreModeler.Geometry.Shape.Shape(long cPtr, boolean cMemoryOwn)

ParameterTypeDescription
cPtrlong
cMemoryOwnboolean

finalize

void CoreModeler.Geometry.Shape.finalize()

getCPtr

static long CoreModeler.Geometry.Shape.getCPtr(Shape obj)

ParameterTypeDescription
objShape

delete

synchronized void CoreModeler.Geometry.Shape.delete()

getVolume

double CoreModeler.Geometry.Shape.getVolume()

Retrieves the volume of the shape. The shape’s volume as a double.

The shape’s volume as a double.