Public Member Functions | |
| bool | __eq__ (self, TriPointf rhs) |
| None | __init__ (self) |
| None | __init__ (self, float a, float b) |
| None | __init__ (self, TriPointf s) |
| None | __init__ (self, Vector3f p, Vector3f v0, Vector3f v1, Vector3f v2) |
| None | __init__ (self, Vector3f p, Vector3f v1, Vector3f v2) |
| None | __init__ (self, TriPointf arg0) |
| str | __repr__ (self) |
| int | inVertex (self) |
| TriPointf | 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) |
| TriPointf | operator (*args, **kwargs) |
| TriPointf | operator (*args, **kwargs) |
Static Public Attributes | |
| typing | eps = 1.1920928955078125e-06 |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_b = 4 |
Generated from: MR::TriPointf \\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.TriPointf.__init__ | ( | self | ) |
| None mrmeshpy.TriPointf.__init__ | ( | self, | |
| float | a, | ||
| float | b ) |
| None mrmeshpy.TriPointf.__init__ | ( | self, | |
| TriPointf | s ) |
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.TriPointf.__init__ | ( | self, | |
| TriPointf | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.TriPointf.__eq__ | ( | self, | |
| TriPointf | rhs ) |
returns true if two points have equal (a,b) representation
| str mrmeshpy.TriPointf.__repr__ | ( | self | ) |
| float mrmeshpy.TriPointf.a | ( | self | ) |
a in [0,1], a=0 => point is on [v2,v0] edge, a=1 => point is in v1
| None mrmeshpy.TriPointf.a | ( | self, | |
| float | arg1 ) |
| float mrmeshpy.TriPointf.b | ( | self | ) |
b in [0,1], b=0 => point is on [v0,v1] edge, b=1 => point is in v2
| None mrmeshpy.TriPointf.b | ( | self, | |
| float | arg1 ) |
| int mrmeshpy.TriPointf.inVertex | ( | self | ) |
returns [0,2] if the point is in a vertex or -1 otherwise
| TriPointf mrmeshpy.TriPointf.lnext | ( | self | ) |
represents the same point relative to next edge in the same triangle
| int mrmeshpy.TriPointf.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 |