Class Triangle
This class contains three 3D vectors that comprise a triangle. It is bespoke for CarbideFunction.Wildtile and used in the insideness calculator.
Inheritance
System.Object
Triangle
Implements
System.Collections.Generic.IEnumerable<Vector3>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
public class Triangle : IEnumerable<Vector3>, IEnumerable
Fields
vertex0
Declaration
public Vector3 vertex0
Field Value
Type | Description |
---|---|
Vector3 |
vertex1
Declaration
public Vector3 vertex1
Field Value
Type | Description |
---|---|
Vector3 |
vertex2
Declaration
public Vector3 vertex2
Field Value
Type | Description |
---|---|
Vector3 |
Methods
GetEnumerator()
Declaration
public IEnumerator<Vector3> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<Vector3> |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerable