MinimumEnclosure Members

The MinimumEnclosure type exposes the following members.

Methods


  Name Description
Public method Static member AddInCornerVertices
Adds the corner vertices (actually 3d points) to the bounding box
Public method Static member BoundingRectangle
Finds the minimum bounding rectangle given a set of points. Either send any set of points OR the convex hull 2D.
Public method Static member ConvexHull2DArea
Finds the area of the convex hull region, given a set of convex hull points.
Public method Static member ConvexHull2DMaximal
Returns the MAXIMMAL 2D convex hull for given list of points. This only works on the x and y coordinates of the points. The term maximal refers to the fact that all points that lie on the convex hull are included in the result. This is useful if one if trying to identify such points. Otherwise, if the shape is what is important than the minimal approach is preferred.
Public method Static member ConvexHull2DMinimal
Returns the MINIMAL 2D convex hull for given list of points. This only works on the x and y coordinates of the points. The term minimal refers to the fact that only the necessary points that define the convex hull are included in the result. This is useful if one if trying to identify the shape of the hull. It is slightly faster than the maximal approach and it will likely lead to less exceptions in other methods (such as bounding box).
Public method Static member GetLengthAndExtremeVertices
Given a Direction, dir, this function returns the maximum length along this Direction for the provided vertices as well as the two vertices that represent the extremes.
Public method Static member MEC_Center
Takes a set of points and a line, and determines which side of the line the center of the MEC of the points lies on.
Public method Static member Median
Takes a set of elements and a metric for comparing them pairwise, and returns the median of the elements.
Public method Static member MinimumBoundingCylinder
Gets the minimum bounding cylinder using 13 guesses for the depth direction
Public method Static member MinimumCircle
Minimums the circle.
Public method Static member OBBAlongDirection
Finds the minimum oriented bounding rectangle (2D). The 3D points of a tessellated solid are projected to the plane defined by "Direction". This returns a BoundingBox structure where the first Direction is the same as the prescribed Direction and the other two are in-plane unit vectors.
Public method Static member OrientedBoundingBox(TessellatedSolid)
Finds the minimum bounding box.
Public method Static member OrientedBoundingBox(IList<(Of <<'(Vertex>)>>))
Finds the minimum bounding box.
Public method Static member OrientedBoundingBox_Test
Finds the minimum bounding box oriented along a particular Direction.