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

Public Member Functions

 __init__ (self, *args, **kwargs)
float dist (self)
ConstUndirectedEdgeId line (self)
ConstVector2f point (self)

Static Protected Attributes

typing _offsetof_dist = 12
typing _offsetof_line = 0
typing _offsetof_point = 4

Detailed Description

Generated from:  MR::Polyline2ProjectionWithOffsetResult

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPolyline2ProjectionWithOffsetResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult) -> None

2. __init__(self: meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult, arg0: meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult, line: meshlib.mrmeshpy.ConstUndirectedEdgeId, point: meshlib.mrmeshpy.ConstVector2f, dist: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult, : meshlib.mrmeshpy.ConstPolyline2ProjectionWithOffsetResult) -> None

Member Function Documentation

◆ dist()

float mrmeshpy.ConstPolyline2ProjectionWithOffsetResult.dist ( self)
distance from offset point to proj

Reimplemented in mrmeshpy.Polyline2ProjectionWithOffsetResult, and mrmeshpy.Polyline2ProjectionWithOffsetResult.

◆ line()

ConstUndirectedEdgeId mrmeshpy.ConstPolyline2ProjectionWithOffsetResult.line ( self)

◆ point()

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

Reimplemented in mrmeshpy.Polyline2ProjectionWithOffsetResult, and mrmeshpy.Polyline2ProjectionWithOffsetResult.

Member Data Documentation

◆ _offsetof_dist

typing mrmeshpy.ConstPolyline2ProjectionWithOffsetResult._offsetof_dist = 12
staticprotected

◆ _offsetof_line

typing mrmeshpy.ConstPolyline2ProjectionWithOffsetResult._offsetof_line = 0
staticprotected

◆ _offsetof_point

typing mrmeshpy.ConstPolyline2ProjectionWithOffsetResult._offsetof_point = 4
staticprotected

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