PolyhedronMath
01 Syntax
Microsoft.VisualBasic.Imaging.Drawing3D.Math3D.PolyhedronMath
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| vertex_sign | 1 | Sign of the vertex P with respect to O, as defined above. |
| edge_sign | 1 | Sign of the edge PQ with respect to O, as defined above. |
| triangle_sign | 1 | Sign of the triangle PQR with respect to O, as defined above. |
| triangle_chain | 1 | Return the contribution of this triangle to the winding number. |
03 Members
vertex_sign(
Double(), Double())Sign of the vertex P with respect to O, as defined above.
Parameters
| Name | Type | Description |
|---|---|---|
P | Double() | - |
O | Double() | - |
edge_sign(
Double(), Double(), Double())Sign of the edge PQ with respect to O, as defined above.
Parameters
| Name | Type | Description |
|---|---|---|
P | Double() | - |
Q | Double() | - |
O | Double() | - |
triangle_sign(
Double(), Double(), Double(), Double())Sign of the triangle PQR with respect to O, as defined above.
Parameters
| Name | Type | Description |
|---|---|---|
P | Double() | - |
Q | Double() | - |
R | Double() | - |
O | Double() | - |
triangle_chain(
Double(), Double(), Double(), Double())Return the contribution of this triangle to the winding number. Raise ValueError If the face contains the origin.
Parameters
| Name | Type | Description |
|---|---|---|
v1 | Double() | - |
v2 | Double() | - |
v3 | Double() | - |
origin | Double() | - |