MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstPolylineProjectionResult2 Class Reference
Inheritance diagram for mrmeshpy.ConstPolylineProjectionResult2:

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

Detailed Description

Generated from:  MR::PolylineProjectionResult2

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstPolylineProjectionResult2.__bool__ ( self)

◆ distSq()

float mrmeshpy.ConstPolylineProjectionResult2.distSq ( self)
squared distance from pt to proj

Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.

◆ line()

ConstUndirectedEdgeId mrmeshpy.ConstPolylineProjectionResult2.line ( self)
polyline's edge containing the closest point

Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.

◆ point()

ConstVector2f mrmeshpy.ConstPolylineProjectionResult2.point ( self)
closest point on polyline, transformed by xf if it is given

Reimplemented in mrmeshpy.PolylineProjectionResult2, and mrmeshpy.PolylineProjectionResult2.

◆ valid()

bool mrmeshpy.ConstPolylineProjectionResult2.valid ( self)
check for validity, otherwise the projection was not found

Member Data Documentation

◆ _offsetof_distSq

typing mrmeshpy.ConstPolylineProjectionResult2._offsetof_distSq = 12
staticprotected

◆ _offsetof_line

typing mrmeshpy.ConstPolylineProjectionResult2._offsetof_line = 0
staticprotected

◆ _offsetof_point

typing mrmeshpy.ConstPolylineProjectionResult2._offsetof_point = 4
staticprotected

The documentation for this class was generated from the following file: