Public Member Functions | |
| bool | __bool__ (self) |
| __init__ (self, *args, **kwargs) | |
| bool | valid (self) |
| float | distSq (self) |
| ConstUndirectedEdgeId | line (self) |
| ConstVector2f | point (self) |
Static Protected Attributes | |
| typing | _offsetof_distSq = 12 |
| typing | _offsetof_line = 0 |
| typing | _offsetof_point = 4 |
Generated from: MR::PolylineProjectionResult2
| mrmeshpy.ConstPolylineProjectionResult2.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstPolylineProjectionResult2) -> None 2. __init__(self: meshlib.mrmeshpy.ConstPolylineProjectionResult2, arg0: meshlib.mrmeshpy.ConstPolylineProjectionResult2) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstPolylineProjectionResult2, line: meshlib.mrmeshpy.ConstUndirectedEdgeId, point: meshlib.mrmeshpy.ConstVector2f, distSq: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstPolylineProjectionResult2, : meshlib.mrmeshpy.ConstPolylineProjectionResult2) -> None
| bool mrmeshpy.ConstPolylineProjectionResult2.__bool__ | ( | self | ) |
| float mrmeshpy.ConstPolylineProjectionResult2.distSq | ( | self | ) |
squared distance from pt to proj
Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.
| ConstUndirectedEdgeId mrmeshpy.ConstPolylineProjectionResult2.line | ( | self | ) |
polyline's edge containing the closest point
Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.
| ConstVector2f mrmeshpy.ConstPolylineProjectionResult2.point | ( | self | ) |
closest point on polyline, transformed by xf if it is given
Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.
| bool mrmeshpy.ConstPolylineProjectionResult2.valid | ( | self | ) |
check for validity, otherwise the projection was not found
|
staticprotected |
|
staticprotected |
|
staticprotected |