Click or drag to resize
DigitalRuneGeometryHelper Class
Provides helper methods for various geometry tasks.
Inheritance Hierarchy
SystemObject
  DigitalRune.GeometryGeometryHelper

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static class GeometryHelper

The GeometryHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberArePointsOnOppositeSides
Determines whether two points P and Q are on opposite sides of a plane. The plane is determined by three points (A, B, C).
Public methodStatic memberComputeBoundingBox
Computes the minimum box that contains the given points.
Public methodStatic memberComputeBoundingCapsule
Computes a tight-fitting capsule that contains the given points.
Public methodStatic memberComputeBoundingSphere
Computes the minimum sphere that contains the given points.
Public methodStatic memberComputeCircumscribedSphere(Vector3F, Vector3F, Single, Vector3F)
Computes a sphere where all given points touch the surface.
Public methodStatic memberComputeCircumscribedSphere(Vector3F, Vector3F, Vector3F, Single, Vector3F)
Computes a sphere where all given points touch the surface.
Public methodStatic memberComputeCircumscribedSphere(Vector3F, Vector3F, Vector3F, Vector3F, Single, Vector3F)
Computes a sphere where all given points touch the surface.
Public methodStatic memberCreateBoundingShape
Computes a minimum bounding shape that contains all given points.
Public methodStatic memberCreateConvexHull(IEnumerableVector3F)
Creates a convex hull mesh for a set of points.
Public methodStatic memberCreateConvexHull(IEnumerableVector3F, Int32, Single)
Creates a convex hull mesh for a set of points.
Public methodStatic memberCreateIcosphere
Creates a sphere (or hemisphere) by successively subdividing an icosahedron.
Public methodStatic memberExtractPlanes(Matrix, IListPlane, Boolean)
Extracts the viewing frustum planes of a world-view-projection matrix. (Only available in the XNA-compatible build.)
Public methodStatic memberExtractPlanes(Matrix44F, IListPlane, Boolean)
Extracts the viewing frustum planes of a world-view-projection matrix.
Public methodStatic memberGetBarycentricFromPoint(Triangle, Vector3F, Single, Single, Single)
Gets the barycentric coordinates of a point and a triangle.
Public methodStatic memberGetBarycentricFromPoint(Triangle, Vector3F, Single, Single, Single)
Determines whether the projection of a point (into the triangle plane) is inside the given triangle. (This overload uses per-reference parameters for performance.)
Public methodStatic memberGetClosestPoint(Aabb, Vector3F, Vector3F)
Gets the point on or in an axis-aligned bounding box (AABB) that is closest to a given point.
Public methodStatic memberGetClosestPoint(Line, Vector3F, Vector3F)
Gets the closest point of a line to a point.
Public methodStatic memberGetClosestPoint(Plane, Vector3F, Vector3F)
Gets the point on a plane surface that is closest to a given point.
Public methodStatic memberGetClosestPoint(Triangle, Vector3F, Single, Single, Single)
Gets the barycentric coordinates (u, v, w of the point in a triangle which is closest to the given point).
Public methodStatic memberGetClosestPoints(LineSegment, Vector3F, Vector3F)
Gets the closest point of a line segment to a point.
Public methodStatic memberGetClosestPoints(Line, Line, Vector3F, Vector3F)
Gets the closest points of two lines.
Public methodStatic memberGetClosestPoints(LineSegment, Line, Vector3F, Vector3F)
Gets the closest points of a line and a line segment.
Public methodStatic memberGetClosestPoints(LineSegment, LineSegment, Vector3F, Vector3F)
Gets the closest points of two line segments.
Public methodStatic memberGetClosestPoints(Plane, Line, Vector3F, Vector3F)
Gets the closest points of a line and a plane.
Public methodStatic memberGetClosestPoints(Plane, LineSegment, Vector3F, Vector3F)
Gets the closest points of a line and a plane.
Public methodStatic memberGetContact
Computes the ray vs. triangle contact.
Public methodStatic memberGetDistance(Aabb, Aabb)
Computes the distance between the two axis-aligned bounding boxes (AABBs).
Public methodStatic memberGetDistance(Plane, Vector3F)
Gets the signed distance of a point to a plane surface.
Public methodStatic memberGetIntersection
Gets the intersection point of three planes.
Public methodStatic memberGetPointFromBarycentric
Gets the point on the triangle defined by the given barycentric coordinates.
Public methodStatic memberGetVolume
Gets the enclosed volume of a triangle mesh.
Public methodStatic memberHaveContact(Single, Vector3F)
Determines whether the specified point is inside the sphere.
Public methodStatic memberHaveContact(Aabb, Aabb)
Determines whether two axis-aligned bounding boxes (AABBs) overlap.
Public methodStatic memberHaveContact(Aabb, Plane)
Determines whether the given axis-aligned bounding box (AABB) and plane overlap.
Public methodStatic memberHaveContact(Aabb, Ray)
Determines whether the given axis-aligned bounding box (AABB) and ray overlap.
Public methodStatic memberHaveContact(Aabb, Vector3F)
Determines whether the axis-aligned bounding box (AABB) contains or touches the given point.
Public methodStatic memberHaveContact(Triangle, Triangle)
Determines whether two triangles overlap.
Public methodStatic memberHaveContact(Triangle, Triangle)
Determines whether two triangles overlap.
Public methodStatic memberHaveContact(Vector3F, Vector3F)
Determines whether the specified point is inside the box.
Public methodStatic memberHaveContact(Aabb, Aabb, Vector3F)
Determines whether a given AABB is hit by a moving AABB.
Public methodStatic memberHaveContact(Aabb, Ray, Single)
Determines whether the given axis-aligned bounding box (AABB) and ray overlap.
Public methodStatic memberHaveContact(Aabb, Vector3F, Pose, Boolean)
Determines whether the axis-aligned bounding box (AABB) and a box have contact.
Public methodStatic memberIsInFront
Determines whether the point is in front of the triangle.
Public methodStatic memberIsOver(Triangle, Vector3F)
Determines whether the projection of a point (into the triangle plane) is inside the given triangle.
Public methodStatic memberIsOver(Triangle, Vector3F)
Determines whether the projection of a point (into the triangle plane) is inside the given triangle. (This overload uses per-reference parameters for performance.)
Public methodStatic memberIsOver(Triangle, Vector3F, Single)
Determines whether the projection of a point (into the triangle plane) is inside the given triangle.
Public methodStatic memberMergeDuplicatePositions(IListVector3F, Single)
Merges duplicate positions.
Public methodStatic memberMergeDuplicatePositions(IListVector3F, Single, Int32)
Merges duplicate positions.
Public methodStatic memberTriangulate(IListVector3F, IListInt32)
Triangulates a polygon specified by a list of vertices.
Public methodStatic memberTriangulate(IListVector3F, Int32, Int32, IListInt32)
Triangulates a polygon specified by a list of vertices.
Top
Remarks
See Also