MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PolylineProjectionResult2 Class Reference

Public Member Functions

bool __bool__ (self)
 
None __init__ (self)
 
None __init__ (self, UndirectedEdgeId line, Vector2f point, float distSq)
 
bool valid (self)
 
float distSq (self)
 
None distSq (self, float arg1)
 
UndirectedEdgeId line (self)
 
None line (self, UndirectedEdgeId arg1)
 
Vector2f point (self)
 
None point (self, Vector2f arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
PolylineProjectionResult2 operator (*args, **kwargs)
 
PolylineProjectionResult2 operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_distSq = 12
 
typing _offsetof_line = 0
 
typing _offsetof_point = 4
 

Detailed Description

Generated from:  MR::PolylineProjectionResult2

\\addtogroup AABBTreeGroup
\\{

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.PolylineProjectionResult2.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.PolylineProjectionResult2.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.PolylineProjectionResult2.__init__ ( self,
UndirectedEdgeId line,
Vector2f point,
float distSq )
Implicit aggregate constructor.

Member Function Documentation

◆ __bool__()

bool mrmeshpy.PolylineProjectionResult2.__bool__ ( self)

◆ distSq() [1/2]

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

◆ distSq() [2/2]

None mrmeshpy.PolylineProjectionResult2.distSq ( self,
float arg1 )

◆ line() [1/2]

UndirectedEdgeId mrmeshpy.PolylineProjectionResult2.line ( self)
polyline's edge containing the closest point

◆ line() [2/2]

None mrmeshpy.PolylineProjectionResult2.line ( self,
UndirectedEdgeId arg1 )

◆ operator() [1/2]

PolylineProjectionResult2 mrmeshpy.PolylineProjectionResult2.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

PolylineProjectionResult2 mrmeshpy.PolylineProjectionResult2.operator ( * args,
** kwargs )
static

◆ point() [1/2]

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

◆ point() [2/2]

None mrmeshpy.PolylineProjectionResult2.point ( self,
Vector2f arg1 )

◆ valid()

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

Member Data Documentation

◆ _offsetof_distSq

typing mrmeshpy.PolylineProjectionResult2._offsetof_distSq = 12
staticprotected

◆ _offsetof_line

typing mrmeshpy.PolylineProjectionResult2._offsetof_line = 0
staticprotected

◆ _offsetof_point

typing mrmeshpy.PolylineProjectionResult2._offsetof_point = 4
staticprotected

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