remove_duplicate_vertices
remove_duplicate_vertices(V, epsilon=0.0, faces=None)
Return unique vertices, optionally with a tolerance
Parameters:
Name | Type | Description | Default |
---|---|---|---|
V |
numpy double array
|
Matrix of vertex positions |
required |
epsilon |
double, optional (default 0.0)
|
Positive uniqueness absolute tolerance |
0.0
|
faces |
numpy int array, optional (default None)
|
Matrix of any-type mesh indices, for convenience |
None
|
Returns:
Name | Type | Description |
---|---|---|
SV |
numpy double array
|
Matrix of new vertex positions |
SVI |
numpy int array
|
Vector of indices such that SV = V[SVI,:] |
SVJ |
numpy int array
|
Vector of indices such that V = SV[SVJ,:] |
SF |
numpy int array
|
Matrix of new mesh indices into SV, only part of the output if faces is not None. |
Source code in src/gpytoolbox/remove_duplicate_vertices.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|