Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| TriPointd | aBary (self, Const_std_array_Vector3_double_3 ta) |
| TriPointd | bBary (self, Const_std_array_Vector3_double_3 tb) |
| ConstVector3d | a (self) |
| int | aEdge (self) |
| ConstVector3d | b (self) |
| int | bEdge (self) |
| float | distSq (self) |
| bool | overlap (self) |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_aEdge = 57 |
| typing | _offsetof_b = 24 |
| typing | _offsetof_bEdge = 58 |
| typing | _offsetof_distSq = 48 |
| typing | _offsetof_overlap = 56 |
Generated from: MR::TriTriDistanceResult<double> Aliases: TriTriDistanceResultd
| mrmeshpy.ConstTriTriDistanceResult_double.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstTriTriDistanceResult_double) -> None 2. __init__(self: meshlib.mrmeshpy.ConstTriTriDistanceResult_double, arg0: meshlib.mrmeshpy.ConstTriTriDistanceResult_double) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstTriTriDistanceResult_double, a: meshlib.mrmeshpy.ConstVector3d, b: meshlib.mrmeshpy.ConstVector3d, distSq: float, overlap: bool, aEdge: int, bEdge: int) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstTriTriDistanceResult_double, : meshlib.mrmeshpy.ConstTriTriDistanceResult_double) -> None
| ConstVector3d mrmeshpy.ConstTriTriDistanceResult_double.a | ( | self | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
| TriPointd mrmeshpy.ConstTriTriDistanceResult_double.aBary | ( | self, | |
| Const_std_array_Vector3_double_3 | ta ) |
barycentric coordinates of point a in triangle ta, given to findTriTriDistance as the first one; unlike the ones computed from the position of the point, they place a point found on an edge or in a vertex there
| int mrmeshpy.ConstTriTriDistanceResult_double.aEdge | ( | self | ) |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
| ConstVector3d mrmeshpy.ConstTriTriDistanceResult_double.b | ( | self | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
| TriPointd mrmeshpy.ConstTriTriDistanceResult_double.bBary | ( | self, | |
| Const_std_array_Vector3_double_3 | tb ) |
barycentric coordinates of point b in triangle tb, given to findTriTriDistance as the second one
| int mrmeshpy.ConstTriTriDistanceResult_double.bEdge | ( | self | ) |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
| float mrmeshpy.ConstTriTriDistanceResult_double.distSq | ( | self | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero.
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
| bool mrmeshpy.ConstTriTriDistanceResult_double.overlap | ( | self | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another
Reimplemented in mrmeshpy.TriTriDistanceResult_double, and mrmeshpy.TriTriDistanceResult_double.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |