BurstTriangulator
v3.8.0
Search Results for

    Show / Hide Table of Contents

    Class InputData<T2>

    A managed helper class that contains all native buffers for triangulation input.

    Inheritance
    object
    InputData<T2>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: andywiecko.BurstTriangulator
    Assembly: .dll
    Syntax
    public class InputData<T2> where T2 : unmanaged
    Type Parameters
    Name Description
    T2

    The coordinate type. Supported types include: float2, Vector2, double2, Unity.Mathematics.FixedPoint.fp2, and int2. For more information on type restrictions, refer to the documentation.

    Properties

    Name Description
    ConstraintEdges

    Optional buffer for constraint edges. This array constrains specific edges to be included in the final triangulation result. It should contain indexes corresponding to the Positions of the edges in the format [a₀, a₁, b₀, b₁, c₀, c₁, ...], where (a₀, a₁), (b₀, b₁), (c₀, c₁), etc., represent the constraint edges.

    HoleSeeds

    Optional buffer containing seeds for holes. These hole seeds serve as starting points for a removal process that mimics the spread of a virus. During this process, ConstraintEdges act as barriers to prevent further propagation. For more information, refer to the documentation.

    IgnoreConstraintForPlantingSeeds

    Optional buffer used to mark constraints that should be ignored during the seed planting step. The buffer length should be half the length of ConstraintEdges.

    Positions

    Positions of points used in triangulation.

    In this article
    Back to top Generated by DocFX | Documentation © 2024 by Andrzej Więckowski is licensed under CC BY 4.0