SoLDMGeomElementGetGeomToTileDist Method |
Returns the signed distance from the geometry to a tile in data/geometric coordinnate.
Namespace: OIV.LDMAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Function GetGeomToTileDist (
<OutAttribute> ByRef tileBox As SbBox3i32,
<OutAttribute> ByRef tileGeomPos As SbBox3f,
<OutAttribute> ByRef tileGeomCenter As SbVec3f
) As Single
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
float GetGeomToTileDist(
[OutAttribute] SbBox3i32% tileBox,
[OutAttribute] SbBox3f% tileGeomPos,
[OutAttribute] SbVec3f% tileGeomCenter
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member GetGeomToTileDist :
tileBox : SbBox3i32 byref *
tileGeomPos : SbBox3f byref *
tileGeomCenter : SbVec3f byref -> float32
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