Click or drag to resize
SoLDMDataAccessVoxelToXYZ Method (SbVec3i32)

Converts a voxel coordinate (I,J,K) to a geometry coordinate (X,Y,Z).

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SbVec3f VoxelToXYZ(
	SbVec3i32 dataPosition
)

Parameters

dataPosition
Type: OIV.InventorSbVec3i32

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