Public Member Functions | |
| bool | __eq__ (self, TriPointd rhs) |
| None | __init__ (self) |
| None | __init__ (self, float a, float b) |
| None | __init__ (self, Vector3d p, Vector3d v0, Vector3d v1, Vector3d v2) |
| None | __init__ (self, Vector3d p, Vector3d v1, Vector3d v2) |
| None | __init__ (self, TriPointd arg0) |
| str | __repr__ (self) |
| int | inVertex (self) |
| TriPointd | lnext (self) |
| int | onEdge (self) |
| float | a (self) |
| None | a (self, float arg1) |
| float | b (self) |
| None | b (self, float arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
| TriPointd | operator (*args, **kwargs) |
| TriPointd | operator (*args, **kwargs) |
Static Public Attributes | |
| typing | eps = 2.220446049250313e-15 |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_b = 8 |
Generated from: MR::TriPointd \\brief encodes a point inside a triangle using barycentric coordinates \\details Notations used below: v0, v1, v2 - points of the triangle
|
static |
|
static |
| None mrmeshpy.TriPointd.__init__ | ( | self | ) |
| None mrmeshpy.TriPointd.__init__ | ( | self, | |
| float | a, | ||
| float | b ) |
given a point coordinates and triangle (v0,v1,v2) computes barycentric coordinates of the point
given a point coordinates and triangle (0,v1,v2) computes barycentric coordinates of the point
| None mrmeshpy.TriPointd.__init__ | ( | self, | |
| TriPointd | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.TriPointd.__eq__ | ( | self, | |
| TriPointd | rhs ) |
returns true if two points have equal (a,b) representation
| str mrmeshpy.TriPointd.__repr__ | ( | self | ) |
| float mrmeshpy.TriPointd.a | ( | self | ) |
a in [0,1], a=0 => point is on [v2,v0] edge, a=1 => point is in v1
| None mrmeshpy.TriPointd.a | ( | self, | |
| float | arg1 ) |
| float mrmeshpy.TriPointd.b | ( | self | ) |
b in [0,1], b=0 => point is on [v0,v1] edge, b=1 => point is in v2
| None mrmeshpy.TriPointd.b | ( | self, | |
| float | arg1 ) |
| int mrmeshpy.TriPointd.inVertex | ( | self | ) |
returns [0,2] if the point is in a vertex or -1 otherwise
| TriPointd mrmeshpy.TriPointd.lnext | ( | self | ) |
represents the same point relative to next edge in the same triangle
| int mrmeshpy.TriPointd.onEdge | ( | self | ) |
returns [0,2] if the point is on edge or -1 otherwise: 0 means edge [v1,v2]; 1 means edge [v2,v0]; 2 means edge [v0,v1]
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
static |