Click or drag to resize
SoDataSetXYZToVoxel Method (SbBox3f)

Converts the specified box in geometric coordinates to voxel coordinates.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public virtual SbBox3f XYZToVoxel(
	SbBox3f xyzBox
)

Parameters

xyzBox
Type: OIV.InventorSbBox3f

Return Value

Type: SbBox3f
Remarks

The geometric coordinates are expressed in "extent" space, where voxel coordinates are mapped to the box defined by the volume extent.

Correctly converts coordinates that are outside the volume extent, but the resulting voxel coordinate is outside the volume dimensions.

See Also