Click or drag to resize
SoLDMDataAccessXYZToVoxel Method (SbBox3f)

Converts the specified box in geometric coordinates (X,Y,Z) to voxel coordinates (I,J,K).

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SbBox3i32 XYZToVoxel(
	SbBox3f boxXYZ
)

Parameters

boxXYZ
Type: OIV.InventorSbBox3f

Return Value

Type: SbBox3i32
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.

Note Note

Member available since Open Inventor 10.8

See Also