VisimBox 1.0 VisimBox 3d simulation and visualisation ToolBox

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions
VisiMath.Collisions.CollisionSolver.Distances Class Reference

List of all members.

## Static Public Member Functions
static float | OOBoxLineSegment (OOBox box, ref Vector3 p1, ref Vector3 p2)
| Calculates distances between oriented box and line segment.
static float | OOBoxTriangle (OOBox box, ref Vector3 p1, ref Vector3 p2, ref Vector3 p3)
| Calculates distances between oriented box and triangle.

## Member Function Documentation

static float VisiMath.Collisions.CollisionSolver.Distances.OOBoxLineSegment | ( | OOBox | box,
|  | ref Vector3 | p1,
|  | ref Vector3 | p2
| ) |  | `[static]`

Calculates distances between oriented box and line segment.

Parameters:

  box | Oriented box
  p1 | Segment point 1
  p2 | Segment point 2

Returns:
  Distance

static float VisiMath.Collisions.CollisionSolver.Distances.OOBoxTriangle | ( | OOBox | box,
|  | ref Vector3 | p1,
|  | ref Vector3 | p2,
|  | ref Vector3 | p3
| ) |  | `[static]`

Calculates distances between oriented box and triangle.

Parameters:

  box | Oriented box
  p1 | Triangle point 1
  p2 | Triangle point 2
  p3 | Triangle point 3

Returns:
  Distance

The documentation for this class was generated from the following file:

- CollisionSolver.cs

All Classes Namespaces Files Functions Variables Enumerations Properties Events