BurstTriangulator
v3.9.0
Search Results for

    Show / Hide Table of Contents

    Method ConstrainEdge

    ConstrainEdge(UnsafeTriangulator, NativeOutputData<double2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator @this, NativeOutputData<double2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator this
    NativeOutputData<double2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator, NativeOutputData<double2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator @this, NativeOutputData<double2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator this
    NativeOutputData<double2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds

    ConstrainEdge(UnsafeTriangulator<float2>, NativeOutputData<float2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator<float2> @this, NativeOutputData<float2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator<float2> this
    NativeOutputData<float2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator<float2>, NativeOutputData<float2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator<float2> @this, NativeOutputData<float2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator<float2> this
    NativeOutputData<float2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds

    ConstrainEdge(UnsafeTriangulator<Vector2>, NativeOutputData<Vector2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator<Vector2> @this, NativeOutputData<Vector2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator<Vector2> this
    NativeOutputData<Vector2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator<Vector2>, NativeOutputData<Vector2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator<Vector2> @this, NativeOutputData<Vector2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator<Vector2> this
    NativeOutputData<Vector2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds

    ConstrainEdge(UnsafeTriangulator<double2>, NativeOutputData<double2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator<double2> @this, NativeOutputData<double2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator<double2> this
    NativeOutputData<double2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator<double2>, NativeOutputData<double2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator<double2> @this, NativeOutputData<double2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator<double2> this
    NativeOutputData<double2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds

    ConstrainEdge(UnsafeTriangulator<int2>, NativeOutputData<int2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator<int2> @this, NativeOutputData<int2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator<int2> this
    NativeOutputData<int2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator<int2>, NativeOutputData<int2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator<int2> @this, NativeOutputData<int2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator<int2> this
    NativeOutputData<int2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds

    ConstrainEdge(UnsafeTriangulator<fp2>, NativeOutputData<fp2>, int, int, Allocator, bool, int, bool)

    Constrains the edge formed by the point indices (pi, pj) using the provided output triangulation data.

    Declaration
    public static void ConstrainEdge(this UnsafeTriangulator<fp2> @this, NativeOutputData<fp2> output, int pi, int pj, Allocator allocator, bool ignoreForPlantingSeeds = false, int sloanMaxIters = 1000000, bool verbose = true)
    Parameters
    Type Name Description
    UnsafeTriangulator<fp2> this
    NativeOutputData<fp2> output
    int pi

    The index of the first point of the edge to constrain.

    int pj

    The index of the second point of the edge to constrain.

    Allocator allocator

    The allocator to use. If called from a job, consider using Allocator.Temp.

    bool ignoreForPlantingSeeds

    If true, the halfedges corresponding to (pi, pj) are ignored during the seed planting step.

    int sloanMaxIters

    Max iteration count during Sloan's algorithm (constraining edges).

    bool verbose

    If set to true, an error will be logged in the Console, when sloanMaxIters is exceeded.

    Remarks

    Note: This method requires that output contains valid triangulation data. The output native containers must be allocated by the user. Some buffers are optional; refer to the documentation for more details.

    Limitations: This method is designed to work only on a bulk mesh and does not support constraining edges that pass through holes in the triangulation.

    ConstrainEdge(UnsafeTriangulator<fp2>, NativeOutputData<fp2>, int, int, Args, Allocator, bool)

    Declaration
    [Obsolete("Use ConstrainEdge overload without args parameter.")]
    public static void ConstrainEdge(this UnsafeTriangulator<fp2> @this, NativeOutputData<fp2> output, int pi, int pj, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
    Parameters
    Type Name Description
    UnsafeTriangulator<fp2> this
    NativeOutputData<fp2> output
    int pi
    int pj
    Args args
    Allocator allocator
    bool ignoreForPlantingSeeds
    In this article
    Back to top Generated by DocFX | Documentation © 2024 by Andrzej Więckowski is licensed under CC BY 4.0