ISpatialQuery
Description
- Derived from
- Extended by
-
IModelCollider
TerrainModel sealed
Base interface for classes that provide spatial queries.
Public / Methods
DistanceTo
2 overloads
Computes the smallest distance from the given point to the spatial object.
Use Maths.UlpDouble and/or Maths.Ulp to obtain maximum opt / minimum opt values for open interval checks.
- See also
Computes the smallest distance between the given spatial objects.
The distance query is performed in the coordinate system of this
spatial object. The given transform in defines the transformation from the coordinate system of this
spatial object to the one of the given other in spatial object.
Use Maths.UlpDouble and/or Maths.Ulp to obtain maximum opt / minimum opt values for open interval checks.
- See also
PickRay
Picks the point on the model surface that intersects with the given ray.
If there are multiple intersection points, the nearest one to Ray.Origin is returned.
Extensions
CollidesWith
Checks if this spatial object collides with the given other in one.
The collision test is performed in the coordinate system of this
spatial object. The given transform in defines the transformation from the coordinate system of this
spatial object to the one of the given other in spatial object.
- See also