Module ncollide2d::utils [−][src]
Expand description
Various unsorted geometrical and logical operators.
Structs
A hasher builder that creates DefaultHasher
with default keys.
A structure that implements Eq
and is hashable even if the wrapped data implements only
PartialEq
.
A reference packed with a cost value.
A pair of elements sorted in increasing order.
Traits
Functions
Computes the direction pointing toward the right-hand-side of an oriented segment.
Computes the center of a set of point.
Computes the circumcircle of a triangle.
Tests if a point is inside of a triangle.
Computes the median of a set of values.
Computes the support point of a cloud of points.
Computes the index of the support point of a cloud of points.
Tests if the given point is inside of a polygon with arbitrary orientation.
Sorts two values in increasing order.
Sorts a set of three values in increasing order.
Computes the area of a triangle.
Computes the center of a triangle.
Computes the perimeter of a triangle.