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) |
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) |
Static Public Attributes | |
typing | eps = 1.1920928955078125e-06 |
Generated from: MR::TriPointf Aliases: TriPoint_float, TriPoint_float \\brief encodes a point inside a triangle using barycentric coordinates \\ingroup MathGroup \\details Notations used below: v0, v1, v2 - points of the triangle
|
static |
None meshlib.mrmeshpy.TriPointf.__init__ | ( | self | ) |
None meshlib.mrmeshpy.TriPointf.__init__ | ( | self, | |
float | a, | ||
float | b ) |
None meshlib.mrmeshpy.TriPointf.__init__ | ( | self, | |
TriPointf | s ) |
None meshlib.mrmeshpy.TriPointf.__init__ | ( | self, | |
Vector3f | p, | ||
Vector3f | v0, | ||
Vector3f | v1, | ||
Vector3f | v2 ) |
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 meshlib.mrmeshpy.TriPointf.__init__ | ( | self, | |
TriPointf | arg0 ) |
Implicit copy constructor.
bool meshlib.mrmeshpy.TriPointf.__eq__ | ( | self, | |
TriPointf | rhs ) |
returns true if two points have equal (a,b) representation
float meshlib.mrmeshpy.TriPointf.a | ( | self | ) |
a in [0,1], a=0 => point is on [v2,v0] edge, a=1 => point is in v1
None meshlib.mrmeshpy.TriPointf.a | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.TriPointf.b | ( | self | ) |
b in [0,1], b=0 => point is on [v0,v1] edge, b=1 => point is in v2
None meshlib.mrmeshpy.TriPointf.b | ( | self, | |
float | arg1 ) |
int meshlib.mrmeshpy.TriPointf.inVertex | ( | self | ) |
returns [0,2] if the point is in a vertex or -1 otherwise
TriPointf meshlib.mrmeshpy.TriPointf.lnext | ( | self | ) |
represents the same point relative to next edge in the same triangle
int meshlib.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 |