ConvexHullOfPoints Class |
Namespace: DigitalRune.Geometry.Shapes
The ConvexHullOfPoints type exposes the following members.
Name | Description | |
---|---|---|
ConvexHullOfPoints |
Initializes a new instance of the ConvexHullOfPoints class.
| |
ConvexHullOfPoints(IEnumerableVector3F) |
Initializes a new instance of the ConvexHullOfPoints class from a sequence
of points.
| |
ConvexHullOfPoints(IListVector3F) |
Initializes a new instance of the ConvexHullOfPoints class from a list of
points.
|
Name | Description | |
---|---|---|
Clone |
Creates a new Shape that is a clone (deep copy) of the current instance.
(Inherited from Shape.) | |
CloneCore |
Makes the instance a clone (deep copy) of the specified Shape.
(Overrides ShapeCloneCore(Shape).) | |
CreateInstanceCore |
When implemented in a derived class, creates a new instance of the Shape
derived class.
(Overrides ShapeCreateInstanceCore.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAabb |
Computes the axis-aligned bounding box (AABB) for this shape in local space.
(Inherited from Shape.) | |
GetAabb(Pose) |
Computes the axis-aligned bounding box (AABB) for this shape positioned in world space using
the given Pose.
(Inherited from Shape.) | |
GetAabb(Vector3F, Pose) |
Computes the axis-aligned bounding box (AABB) for this shape positioned in world space using
the given scale and Pose.
(Overrides ConvexShapeGetAabb(Vector3F, Pose).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMesh |
Gets a mesh that represents this shape.
(Inherited from Shape.) | |
GetSupportPoint(Vector3F) |
Gets a support point for a given direction.
(Overrides ConvexShapeGetSupportPoint(Vector3F).) | |
GetSupportPoint(Vector3F, Vector3F) |
Gets a support point for a given direction and a given non-uniform scaling.
(Inherited from ConvexShape.) | |
GetSupportPointNormalized |
Gets a support point for a given normalized direction vector.
(Overrides ConvexShapeGetSupportPointNormalized(Vector3F).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVolume |
Gets the volume of this shape.
(Inherited from Shape.) | |
Invalidate |
Invalidates this instance.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnChanged |
Raises the Changed event.
(Overrides ShapeOnChanged(ShapeChangedEventArgs).) | |
OnGetMesh |
Called when a mesh should be generated for the shape.
(Overrides ConvexShapeOnGetMesh(Single, Int32).) | |
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
InnerPoint |
Gets an inner point.
(Overrides ShapeInnerPoint.) | |
Points |
Gets or sets the list with the points contained in the convex hull.
|
This shape is a collection of points from which the convex hull is computed.
A ConvexHullOfPoints is similar to a ConvexPolyhedron except that the shape can be changed dynamically. Points in the ConvexHullOfPoints can be added or removed at runtime.
Use a ConvexHullOfPoints if the points in the shape need to be modified at runtime. Use a ConvexPolyhedron if the set of points is fixed and a high performance is required.