SoDataSetXYZToVoxel Method (SbBox3f) |
Converts the specified box in geometric coordinates to voxel coordinates.
Namespace: OIV.LDM.NodesAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual SbBox3f XYZToVoxel(
SbBox3f xyzBox
)
Public Overridable Function XYZToVoxel (
xyzBox As SbBox3f
) As SbBox3f
public:
virtual SbBox3f XYZToVoxel(
SbBox3f xyzBox
)
abstract XYZToVoxel :
xyzBox : SbBox3f -> SbBox3f
override XYZToVoxel :
xyzBox : SbBox3f -> SbBox3f
Parameters
- xyzBox
- Type: OIV.InventorSbBox3f
Return Value
Type:
SbBox3fRemarks 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