Module parry3d::utils

source ·
Expand description

Various unsorted geometrical and logical operators.

Modules§

  • A hash-map that behaves deterministically when the enhanced-determinism feature is enabled.

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.
  • An interval implementing interval arithmetic.
  • A 2x2 symmetric-definite-positive matrix.
  • A 3x3 symmetric-definite-positive matrix.
  • A pair of elements sorted in increasing order.

Enums§

Traits§

  • Trait that transforms thing to a slice of u8.
  • A derivable valued function which can be bounded on intervals.
  • Extra operations with isometries.
  • Various operations usable with Option<Isometry> and Option<&Isometry> where None is assumed to be equivalent to the identity.

Functions§

  • Computes the normal of a counter-clock-wise triangle.
  • Computes the center of a set of point.
  • Computes the center and the covariance matrix of a set of points.
  • Computes the covariance matrix of a set of points.
  • Execute the Interval Newton Method to isolate all the roots of the given nonlinear function.
  • Execute the Interval Newton Method to isolate all the roots of the given nonlinear function.
  • Computes the median of a set of values.
  • Computes an oriented bounding box for the given set of points.
  • 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 a convex polygon with arbitrary orientation.
  • Tests if the given point is inside an arbitrary closed polygon with arbitrary orientation, using a counting winding strategy.
  • Given an index buffer, remove from points every point that is not indexed.
  • Computes the intersection between two segments.