|
static JobHandle | CalculateBoundingBox (NativeArray< float3 > points, NativeReference< Bounds > bounds, float addedMargin=0.0f, JobHandle dependsOn=default) |
| Calculates the minimum enclosing box containing all the points provided, and stores it in "bounds".
|
|
static JobHandle | CalculateBoundingRect (NativeArray< float2 > points, NativeReference< Rect > rectangle, float addedMargin=0.0f, JobHandle dependsOn=default) |
| Calculates the minimum enclosing rectangle containing all the points provided, and stores it in "rectangle".
|
|
static unsafe JobHandle | CreateConcaveHull (NativeArray< float2 > points, ref NativePolygon2D polygon, float concavity, float epsilon=10e-4f, Allocator jobAllocator=Allocator.TempJob, JobHandle dependsOn=default) |
| Calculates a concave hull of a given set of points and returns them as a polygon.
|
|
static NativePolygon2D | CreateConvexHull (Allocator allocator, List< float2 > points, bool prefilterPoints=false) |
| Method used is "Andrew's Monotone Chain". Good Explanation here: Computational Geometry (ISBN 978-3-642-09681-5) p. 6 - 8 or just on Wiki.
|
|
static JobHandle | CreateConvexHull (NativeArray< float2 > points, ref NativePolygon2D polygon, Allocator jobAllocator=Allocator.TempJob, JobHandle dependsOn=default) |
| Calculates the convex hull of a given set of points and returns them as a polygon.
|
|
static unsafe JobHandle | CreateConvexHull (NativeArray< float2 > points, ref NativePolygon2D polygon, bool filter, Allocator jobAllocator=Allocator.TempJob, JobHandle dependsOn=default) |
| Calculates the convex hull of a given set of points and returns them as a polygon.
|
|
static JobHandle | FindConvexHullIndices (NativeArray< float2 > points, ref NativeList< int > indices, Allocator allocator=Allocator.TempJob, JobHandle dependsOn=default) |
| Returns the indices of the points that make up the convex hull of the given point set.
|
|
static JobHandle | FindConvexHullIndices (NativeArray< float2 > points, ref NativeList< int > indices, bool filter, Allocator allocator=Allocator.TempJob, JobHandle dependsOn=default) |
| Returns the indices of the points that make up the convex hull of the given point set.
|
|
static JobHandle | FindMinimumEnclosingDisc (NativeArray< float2 > points, NativeReference< float2 > center, NativeReference< float > radius, JobHandle dependsOn=default) |
| Calculates the minimum enclosing disc containing all the points provided within an array.
|
|
static JobHandle | FindMinimumEnclosingSphere (NativeArray< float3 > points, NativeReference< float3 > center, NativeReference< float > radius, JobHandle dependsOn=default) |
| Calculates the minimum enclosing sphere containing all the points provided within an array.
|
|