box_space

Produces an axis aligned rectangular prism.

../../_images/kgeobag_box_space_model.png
  • Works with MeshViewer: No.

  • Works with GeometryViewer: Yes.

XML element: <box_space>
C++ type: KGBoxSpace
Attributes

Attribute

Type

Description

name

string

x_mesh_count

unsigned int

x mesh count

x_mesh_power

double

x mesh power

xa

double

one of the x extrema in meters

xb

double

the other x extremum in meters

y_mesh_count

unsigned int

y mesh count

y_mesh_power

double

y mesh power

ya

double

one of the y extrema in meters

yb

double

the other y extremum in meters

z_mesh_count

unsigned int

z mesh count

z_mesh_power

double

z mesh power

za

double

one of the z extrema in meters

zb

double

the other z extremum in meters

Example:

<box_space name="box_space" xa="0.1" xb="0.65" x_mesh_count="1000" x_mesh_power="5.5" ya="-0.4" yb="0.3" y_mesh_count="100" y_mesh_power="1.8" za="0.4" zb="-0.1" z_mesh_count="10" z_mesh_power="1."/>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: