KrisLibrary
1.0.0
|
Public Attributes | |
bool | hasPenetration |
flags indicating which elements are filled out | |
bool | hasElements |
bool | hasClosestPoints |
bool | hasDirections |
Real | d |
The distance, with negative values indicating penetration if hasPenetration=true. Otherwise, 0 indicates penetration. | |
int | elem1 |
The elements defining the closest points on the geometries. | |
int | elem2 |
Vector3 | cp1 |
The closest points on the two geometries, in world coordinates. | |
Vector3 | cp2 |
Vector3 | dir1 |
Vector3 | dir2 |
vector< int > | group_elem1 |
If the item is a group, this vector will recursively define the sub-elements. | |
vector< int > | group_elem2 |
Vector3 Geometry::AnyDistanceQueryResult::dir1 |
The direction from geometry 1 to geometry 2, and the distance from geometry 2 to geometry 1, in world coordinates These are typically proportional to cp2-cp1 and cp1-cp2, respectively, EXCEPT when the points are exactly coincident.
Referenced by Geometry::AnyCollisionGeometry3D::SetTransform().