C# Класс BEPUutilities.ConvexHullHelper

Processes vertex data into convex hulls.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetConvexHull ( IList points, IList outputSurfacePoints ) : void

Identifies the points on the surface of hull.

GetConvexHull ( IList points, IList indices ) : void

Identifies the indices of points in a set which are on the outer convex hull of the set.

GetConvexHull ( IList points, IList outputIndices, IList outputSurfacePoints ) : void

Identifies the points on the surface of hull.

GetConvexHull ( RawList points, IList outputSurfacePoints ) : void

Identifies the points on the surface of hull.

GetConvexHull ( RawList points, RawList triangleIndices ) : void

Identifies the indices of points in a set which are on the outer convex hull of the set.

GetConvexHull ( RawList points, RawList outputIndices, IList outputSurfacePoints ) : void

Identifies the points on the surface of hull.

Приватные методы

Метод Описание
ComputeInitialTetrahedron ( RawList points, RawList outsidePoints, RawList triangleIndices, Vector3 &centroid ) : void
FindNormal ( RawList indices, RawList points, int triangleIndex, Vector3 &normal ) : void
GetExtremePoint ( Vector3 &direction, RawList points, RawList outsidePoints ) : int
GetExtremePoints ( Vector3 &direction, RawList points, float &maximumDot, float &minimumDot, int &maximumIndex, int &minimumIndex ) : void
IsTriangleVisibleFromPoint ( RawList indices, RawList points, int triangleIndex, Vector3 &point ) : bool
MaintainEdge ( int a, int b, RawList edges ) : void
RemoveInsidePoints ( RawList points, RawList triangleIndices, RawList outsidePoints ) : void
VerifyWindings ( RawList newIndices, RawList points, Vector3 &centroid ) : void

Описание методов

GetConvexHull() публичный статический Метод

Identifies the points on the surface of hull.
public static GetConvexHull ( IList points, IList outputSurfacePoints ) : void
points IList List of points in the set.
outputSurfacePoints IList Unique points on the surface of the convex hull.
Результат void

GetConvexHull() публичный статический Метод

Identifies the indices of points in a set which are on the outer convex hull of the set.
public static GetConvexHull ( IList points, IList indices ) : void
points IList List of points in the set.
indices IList List of indices composing the triangulated surface of the convex hull. /// Each group of 3 indices represents a triangle on the surface of the hull.
Результат void

GetConvexHull() публичный статический Метод

Identifies the points on the surface of hull.
public static GetConvexHull ( IList points, IList outputIndices, IList outputSurfacePoints ) : void
points IList List of points in the set.
outputIndices IList List of indices composing the triangulated surface of the convex hull. /// Each group of 3 indices represents a triangle on the surface of the hull.
outputSurfacePoints IList Unique points on the surface of the convex hull.
Результат void

GetConvexHull() публичный статический Метод

Identifies the points on the surface of hull.
public static GetConvexHull ( RawList points, IList outputSurfacePoints ) : void
points RawList List of points in the set.
outputSurfacePoints IList Unique points on the surface of the convex hull.
Результат void

GetConvexHull() публичный статический Метод

Identifies the indices of points in a set which are on the outer convex hull of the set.
public static GetConvexHull ( RawList points, RawList triangleIndices ) : void
points RawList List of points in the set.
triangleIndices RawList
Результат void

GetConvexHull() публичный статический Метод

Identifies the points on the surface of hull.
public static GetConvexHull ( RawList points, RawList outputIndices, IList outputSurfacePoints ) : void
points RawList List of points in the set.
outputIndices RawList List of indices composing the triangulated surface of the convex hull. /// Each group of 3 indices represents a triangle on the surface of the hull.
outputSurfacePoints IList Unique points on the surface of the convex hull.
Результат void