Search Results for

    Show / Hide Table of Contents

    Struct TriangularSurface<T>

    Implements
    System.IDisposable
    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: ProjectDawn.Geometry3D
    Assembly: ProjectDawn.Geometry.dll
    Syntax
    public struct TriangularSurface<T> : IDisposable where T : struct, ITransformFloat3
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    TriangularSurface(Allocator, T)

    Declaration
    public TriangularSurface(Allocator allocator, T transform = default(T))
    Parameters
    Type Name Description
    Unity.Collections.Allocator allocator
    T transform

    Fields

    | Improve this Doc View Source

    Indices

    Surfaces triangles.

    Declaration
    public NativeList<int3> Indices
    Field Value
    Type Description
    Unity.Collections.NativeList<Unity.Mathematics.int3>
    | Improve this Doc View Source

    Transform

    Surface transformer.

    Declaration
    public T Transform
    Field Value
    Type Description
    T
    | Improve this Doc View Source

    Vertices

    Surface vertices.

    Declaration
    public NativeList<float3> Vertices
    Field Value
    Type Description
    Unity.Collections.NativeList<Unity.Mathematics.float3>

    Properties

    | Improve this Doc View Source

    IsCreated

    Returns if the surface is allocated.

    Declaration
    public bool IsCreated { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NumTriangles

    Returns the number of triangles.

    Declaration
    public int NumTriangles { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    GetTriangle(Int32)

    Returns world space triangle at index.

    Declaration
    public Triangle GetTriangle(int triangleIndex)
    Parameters
    Type Name Description
    System.Int32 triangleIndex

    Index of triangle

    Returns
    Type Description
    Triangle

    Returns world space triangle at index.

    | Improve this Doc View Source

    Intersection(TriangularSurface<T>, NativeList<SurfaceLineIntersection>)

    Returns surfaces intersections.

    Declaration
    public void Intersection(TriangularSurface<T> surface, NativeList<SurfaceLineIntersection> intersections)
    Parameters
    Type Name Description
    TriangularSurface<T> surface

    Surface.

    Unity.Collections.NativeList<SurfaceLineIntersection> intersections

    Intersection data.

    Implements

    System.IDisposable

    Extension Methods

    MeshExtensions.ToMesh<T>(TriangularSurface<T>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX