Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, float a, float b) |
| None | __init__ (self, ConstVector3f p, ConstVector3f v0, ConstVector3f v1, ConstVector3f v2, int edge=-1) |
| None | __init__ (self, ConstVector3f p, ConstVector3f v1, ConstVector3f v2, int edge=-1) |
| None | __init__ (self, ConstTriPointf arg0) |
| typing.Any | __rrshift__ (self, typing.Any tp) |
| TriPointf | assign (self, ConstTriPointf other) |
| float | a (self) |
| None | a (self, float arg1) |
| float | b (self) |
| None | b (self, float arg1) |
| Public Member Functions inherited from mrmeshpy.ConstTriPointf | |
| bool | __eq__ (self, ConstTriPointf rhs) |
| __init__ (self, *args, **kwargs) | |
| bool | __ne__ (self, ConstTriPointf rhs) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any tp) |
| int | inVertex (self) |
| TriPointf | lnext (self) |
| int | onEdge (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Public Attributes inherited from mrmeshpy.ConstTriPointf | |
| typing | eps = 1.1920928955078125e-06 |
| Static Protected Attributes inherited from mrmeshpy.ConstTriPointf | |
| 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, | |
| ConstVector3f | p, | ||
| ConstVector3f | v0, | ||
| ConstVector3f | v1, | ||
| ConstVector3f | v2, | ||
| int | edge = -1 ) |
given a point coordinates and triangle (v0,v1,v2) computes barycentric coordinates of the point; if the point is known to be on an edge, numbered as in onEdge(), then pass it to place the point exactly there
| None mrmeshpy.TriPointf.__init__ | ( | self, | |
| ConstVector3f | p, | ||
| ConstVector3f | v1, | ||
| ConstVector3f | v2, | ||
| int | edge = -1 ) |
given a point coordinates and triangle (0,v1,v2) computes barycentric coordinates of the point; if the point is known to be on an edge, numbered as in onEdge(), then pass it to place the point exactly there
| None mrmeshpy.TriPointf.__init__ | ( | self, | |
| ConstTriPointf | arg0 ) |
Implicit copy constructor.
| typing.Any mrmeshpy.TriPointf.__rrshift__ | ( | self, | |
| typing.Any | tp ) |
| float mrmeshpy.TriPointf.a | ( | self | ) |
a in [0,1], a=0 => point is on [v2,v0] edge, a=1 => point is in v1
Reimplemented from mrmeshpy.ConstTriPointf.
| None mrmeshpy.TriPointf.a | ( | self, | |
| float | arg1 ) |
a in [0,1], a=0 => point is on [v2,v0] edge, a=1 => point is in v1
Reimplemented from mrmeshpy.ConstTriPointf.
| TriPointf mrmeshpy.TriPointf.assign | ( | self, | |
| ConstTriPointf | other ) |
| float mrmeshpy.TriPointf.b | ( | self | ) |
b in [0,1], b=0 => point is on [v0,v1] edge, b=1 => point is in v2
Reimplemented from mrmeshpy.ConstTriPointf.
| None mrmeshpy.TriPointf.b | ( | self, | |
| float | arg1 ) |
b in [0,1], b=0 => point is on [v0,v1] edge, b=1 => point is in v2
Reimplemented from mrmeshpy.ConstTriPointf.