You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MIN_QUAD_WITH_FIXED Minimize a quadratic energy of the form
1034
+
trace( 0.5*Z'*A*Z + Z'*B + constant )
1035
+
subject to
1036
+
Z(known,:) = Y, and
1037
+
Aeq*Z = Beq
1038
+
1039
+
|||
1040
+
|-|-|
1041
+
|Parameters| A n by n matrix of quadratic coefficients</br>B n by 1 column of linear coefficients</br>known list of indices to known rows in Z</br>Y list of fixed values corresponding to known rows in Z</br>Aeq m by n list of linear equality constraint coefficients</br>Beq m by 1list of linear equality constraint constant values</br>is_A_pd flag specifying whether A(unknown,unknown) is positive definite |
1042
+
|Returns| Z n by k solution |
1043
+
1044
+
1030
1045
### orientable_patches
1031
1046
**`orientable_patches(f: array)`**
1032
1047
@@ -1375,6 +1390,23 @@ cone and a _uniform_ average (_not_ a average weighted by inverse angles).
1375
1390
|Returns| S \#P list of shape diamater function values between bounding box</br>diagonal (perfect sphere) and 0 (perfect needle hook) |
SIGNED_DISTANCE computes signed distance to a mesh
1397
+
1398
+
|||
1399
+
|-|-|
1400
+
|Parameters| P \#P by 3 list of query point positions</br>V \#V by 3 list of vertex positions</br>F \#F by ss list of triangle indices, ss should be 3 unless sign_type</br>return_normals (Optional, defaults to False) If set to True, will return pseudonormals of</br>closest points to each query point in P |
1401
+
|Returns| S \#P list of smallest signed distances</br>I \#P list of facet indices corresponding to smallest distances</br>C \#P by 3 list of closest points |
1402
+
|Notes| Known issue: This only computes distances to triangles. So unreferenced</br>vertices and degenerate triangles are ignored. |
1403
+
1404
+
**Examples**
1405
+
```python
1406
+
S, I, C = signed_distance(P, V, F, return_normals=False)
0 commit comments