Method ConstrainEdge
ConstrainEdge(UnsafeTriangulator, NativeOutputData<double2>, int, int, Args, Allocator, 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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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)
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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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)
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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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)
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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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)
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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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)
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, Args args, Allocator allocator, bool ignoreForPlantingSeeds = false)
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. |
Args | args | |
Allocator | allocator | The allocator to use. If called from a job, consider using Allocator.Temp. |
bool | ignoreForPlantingSeeds | If true, the halfedges corresponding to ( |
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.