Extends: CoreModeler.Geometry.Shape

Inheritance Diagram

A 3D rectangular box shape.

Methods

Box

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

ParameterTypeDescription
cPtrlong
cMemoryOwnboolean

Box

CoreModeler.Geometry.Box.Box(double width, double height, double depth)

Constructs a box with specified dimensions.

ParameterTypeDescription
widthdoubleWidth of the box.
heightdoubleHeight of the box.
depthdoubleDepth of the box.

finalize

void CoreModeler.Geometry.Box.finalize()

getCPtr

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

ParameterTypeDescription
objBox

delete

synchronized void CoreModeler.Geometry.Box.delete()

getVolume

double CoreModeler.Geometry.Box.getVolume()

Inherited from Shape.

renderToScreen

void CoreModeler.Geometry.Box.renderToScreen()

Inherited from IDrawable.

renderToScreen

int CoreModeler.Geometry.Box.renderToScreen(CoreModeler.RenderMode mode)

Inherited from IDrawable. Note: Missing

Returns:

and

ParameterTypeDescription
modeCoreModeler.RenderMode

scale

void CoreModeler.Geometry.Box.scale(double factor)

Scale the box by a uniform factor.

ParameterTypeDescription
factordoubleUniform scale factor.

scale

void CoreModeler.Geometry.Box.scale(double xFactor, double yFactor, double zFactor)

Scale the box non-uniformly by width, height, and depth factors. Note: Overloaded method.

ParameterTypeDescription
xFactordoubleWidth scale factor. Note: Missing
yFactordoubleand
zFactordoubletags.

Generated with Flude

Copyright © 2026