SoDataSetXYZToVoxel Method (SbVec3f) |
Converts the specified point in geometric coordinates (X,Y,Z) to voxel coordinates (I,J,K).
Namespace: OIV.LDM.NodesAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual SbVec3f XYZToVoxel(
SbVec3f dataPosition
)
Public Overridable Function XYZToVoxel (
dataPosition As SbVec3f
) As SbVec3f
public:
virtual SbVec3f XYZToVoxel(
SbVec3f dataPosition
)
abstract XYZToVoxel :
dataPosition : SbVec3f -> SbVec3f
override XYZToVoxel :
dataPosition : SbVec3f -> SbVec3f
Parameters
- dataPosition
- Type: OIV.InventorSbVec3f
Return Value
Type:
SbVec3fRemarks 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