BurstTriangulator
v3.8.0
Search Results for

    Show / Hide Table of Contents

    Method DynamicInsertPoint

    DynamicInsertPoint(UnsafeTriangulator, NativeOutputData<double2>, int, double3, Allocator)

    Inserts a point into the given triangulation output within the triangle at index tId, using the specified barycentric coordinates bar. For faster triangle lookup when inserting a point at specific coordinates, it is recommended to use an acceleration structure (e.g., bounding volume tree, buckets, etc.).

    Declaration
    public static void DynamicInsertPoint(this UnsafeTriangulator @this, NativeOutputData<double2> output, int tId, double3 bar, Allocator allocator)
    Parameters
    Type Name Description
    UnsafeTriangulator this
    NativeOutputData<double2> output
    int tId

    The index of the triangle in which the point should be inserted.

    double3 bar

    The barycentric coordinates of the point to insert inside the triangle tId. All coordinates should be in the range (0, 1), and bar.x + bar.y + bar.z must equal 1.

    Allocator allocator

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

    Remarks

    Note: Only point insertion within the mesh bulk is supported. 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.

    DynamicInsertPoint(UnsafeTriangulator<float2>, NativeOutputData<float2>, int, float3, Allocator)

    Inserts a point into the given triangulation output within the triangle at index tId, using the specified barycentric coordinates bar. For faster triangle lookup when inserting a point at specific coordinates, it is recommended to use an acceleration structure (e.g., bounding volume tree, buckets, etc.).

    Declaration
    public static void DynamicInsertPoint(this UnsafeTriangulator<float2> @this, NativeOutputData<float2> output, int tId, float3 bar, Allocator allocator)
    Parameters
    Type Name Description
    UnsafeTriangulator<float2> this
    NativeOutputData<float2> output
    int tId

    The index of the triangle in which the point should be inserted.

    float3 bar

    The barycentric coordinates of the point to insert inside the triangle tId. All coordinates should be in the range (0, 1), and bar.x + bar.y + bar.z must equal 1.

    Allocator allocator

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

    Remarks

    Note: Only point insertion within the mesh bulk is supported. 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.

    DynamicInsertPoint(UnsafeTriangulator<Vector2>, NativeOutputData<Vector2>, int, Vector3, Allocator)

    Inserts a point into the given triangulation output within the triangle at index tId, using the specified barycentric coordinates bar. For faster triangle lookup when inserting a point at specific coordinates, it is recommended to use an acceleration structure (e.g., bounding volume tree, buckets, etc.).

    Declaration
    public static void DynamicInsertPoint(this UnsafeTriangulator<Vector2> @this, NativeOutputData<Vector2> output, int tId, Vector3 bar, Allocator allocator)
    Parameters
    Type Name Description
    UnsafeTriangulator<Vector2> this
    NativeOutputData<Vector2> output
    int tId

    The index of the triangle in which the point should be inserted.

    Vector3 bar

    The barycentric coordinates of the point to insert inside the triangle tId. All coordinates should be in the range (0, 1), and bar.x + bar.y + bar.z must equal 1.

    Allocator allocator

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

    Remarks

    Note: Only point insertion within the mesh bulk is supported. 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.

    DynamicInsertPoint(UnsafeTriangulator<double2>, NativeOutputData<double2>, int, double3, Allocator)

    Inserts a point into the given triangulation output within the triangle at index tId, using the specified barycentric coordinates bar. For faster triangle lookup when inserting a point at specific coordinates, it is recommended to use an acceleration structure (e.g., bounding volume tree, buckets, etc.).

    Declaration
    public static void DynamicInsertPoint(this UnsafeTriangulator<double2> @this, NativeOutputData<double2> output, int tId, double3 bar, Allocator allocator)
    Parameters
    Type Name Description
    UnsafeTriangulator<double2> this
    NativeOutputData<double2> output
    int tId

    The index of the triangle in which the point should be inserted.

    double3 bar

    The barycentric coordinates of the point to insert inside the triangle tId. All coordinates should be in the range (0, 1), and bar.x + bar.y + bar.z must equal 1.

    Allocator allocator

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

    Remarks

    Note: Only point insertion within the mesh bulk is supported. 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.

    DynamicInsertPoint(UnsafeTriangulator<fp2>, NativeOutputData<fp2>, int, fp3, Allocator)

    Inserts a point into the given triangulation output within the triangle at index tId, using the specified barycentric coordinates bar. For faster triangle lookup when inserting a point at specific coordinates, it is recommended to use an acceleration structure (e.g., bounding volume tree, buckets, etc.).

    Declaration
    public static void DynamicInsertPoint(this UnsafeTriangulator<fp2> @this, NativeOutputData<fp2> output, int tId, fp3 bar, Allocator allocator)
    Parameters
    Type Name Description
    UnsafeTriangulator<fp2> this
    NativeOutputData<fp2> output
    int tId

    The index of the triangle in which the point should be inserted.

    fp3 bar

    The barycentric coordinates of the point to insert inside the triangle tId. All coordinates should be in the range (0, 1), and bar.x + bar.y + bar.z must equal 1.

    Allocator allocator

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

    Remarks

    Note: Only point insertion within the mesh bulk is supported. 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.

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