Click or drag to resize
SoLDMGeomElementGetGeomToTileDist Method

Returns the signed distance from the geometry to a tile in data/geometric coordinnate.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public float GetGeomToTileDist(
	out SbBox3i32 tileBox,
	out SbBox3f tileGeomPos,
	out SbVec3f tileGeomCenter
)

Parameters

tileBox
Type: OIV.InventorSbBox3i32
tileGeomPos
Type: OIV.InventorSbBox3f
tileGeomCenter
Type: OIV.InventorSbVec3f

Return Value

Type: Single
Remarks

(depending on the geometry type). < 0 means the tile is behind the geometry.

0 means the tile is in front of the geometry.

= 0 means the tile intersects the geometry.

See Also