Struct ConvexHullBuilder.Triangle
Syntax
public struct Triangle : IPoolElement
Constructors
Triangle(Int32, Int32, Int32, UInt32)
Declaration
public Triangle(int vertex0, int vertex1, int vertex2, uint uid)
Parameters
Type |
Name |
Description |
System.Int32 |
vertex0 |
|
System.Int32 |
vertex1 |
|
System.Int32 |
vertex2 |
|
System.UInt32 |
uid |
|
Fields
FaceIndex
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Link0
Declaration
public ConvexHullBuilder.Edge Link0
Field Value
Link1
Declaration
public ConvexHullBuilder.Edge Link1
Field Value
Link2
Declaration
public ConvexHullBuilder.Edge Link2
Field Value
Uid
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
Vertex0
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Vertex1
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Vertex2
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
IsAllocated
Declaration
public bool IsAllocated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Implements
NextFree
Declaration
public int NextFree { get; }
Property Value
Type |
Description |
System.Int32 |
|
Implements
Methods
GetLink(Int32)
Declaration
public ConvexHullBuilder.Edge GetLink(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetVertex(Int32)
Declaration
public int GetVertex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
SetLink(Int32, ConvexHullBuilder.Edge)
Declaration
public void SetLink(int index, ConvexHullBuilder.Edge handle)
Parameters
SetVertex(Int32, Int32)
Declaration
public void SetVertex(int index, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
value |
|
Explicit Interface Implementations
IPoolElement.MarkFree(Int32)
Declaration
void IPoolElement.MarkFree(int nextFree)
Parameters
Type |
Name |
Description |
System.Int32 |
nextFree |
|
Implements