Click or drag to resize
SoDataSetXYZToVoxel Method (SbVec3f)

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

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public virtual SbVec3f XYZToVoxel(
	SbVec3f dataPosition
)

Parameters

dataPosition
Type: OIV.InventorSbVec3f

Return Value

Type: SbVec3f
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