Extends: CoreModeler.Geometry.Shape

A 3D rectangular box shape.
Methods
Box
CoreModeler.Geometry.Box.Box(long cPtr, boolean cMemoryOwn)
| Parameter | Type | Description |
|---|---|---|
| cPtr | long | |
| cMemoryOwn | boolean |
Box
CoreModeler.Geometry.Box.Box(double width, double height, double depth)
Constructs a box with specified dimensions.
| Parameter | Type | Description |
|---|---|---|
| width | double | Width of the box. |
| height | double | Height of the box. |
| depth | double | Depth of the box. |
finalize
void CoreModeler.Geometry.Box.finalize()
getCPtr
static long CoreModeler.Geometry.Box.getCPtr(Box obj)
| Parameter | Type | Description |
|---|---|---|
| obj | Box |
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
| Parameter | Type | Description |
|---|---|---|
| mode | CoreModeler.RenderMode |
scale
void CoreModeler.Geometry.Box.scale(double factor)
Scale the box by a uniform factor.
| Parameter | Type | Description |
|---|---|---|
| factor | double | Uniform 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.
| Parameter | Type | Description |
|---|---|---|
| xFactor | double | Width scale factor. Note: Missing |
| yFactor | double | and |
| zFactor | double | tags. |
Generated with Flude
Copyright © 2026