MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.PolylineProjectionResult2. This is the const half of the class. More...

Inheritance diagram for MR.Const_PolylineProjectionResult2:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_PolylineProjectionResult2 ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PolylineProjectionResult2 (MR.UndirectedEdgeId line, MR.Vector2f point, float distSq)
 Constructs MR.PolylineProjectionResult2 elementwise.
unsafe Const_PolylineProjectionResult2 (MR.Const_PolylineProjectionResult2 _other)
 Generated from constructor MR.PolylineProjectionResult2.PolylineProjectionResult2.
 Const_PolylineProjectionResult2 (PolylineProjectionResult2 _other)
 Generated from constructor MR.PolylineProjectionResult2.PolylineProjectionResult2.
unsafe bool valid ()
 check for validity, otherwise the projection was not found Generated from method MR.PolylineProjectionResult2.valid.

Static Public Member Functions

static unsafe operator bool (MR.Const_PolylineProjectionResult2 _this)
 Generated from conversion operator MR::PolylineProjectionResult2::operator bool.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.UndirectedEdgeId__ref_storage_line
unsafe MR.Vector2f__ref_storage_point
unsafe float * __ref_storage_distSq

Properties

unsafe ref readonly MR.UndirectedEdgeId line [get]
 polyline's edge containing the closest point
unsafe ref readonly MR.Vector2f point [get]
 closest point on polyline, transformed by xf if it is given
unsafe float distSq [get]
 squared distance from pt to proj

Detailed Description

Generated from class MR.PolylineProjectionResult2. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_PolylineProjectionResult2() [1/4]

unsafe MR.Const_PolylineProjectionResult2.Const_PolylineProjectionResult2 ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_PolylineProjectionResult2() [2/4]

unsafe MR.Const_PolylineProjectionResult2.Const_PolylineProjectionResult2 ( MR.UndirectedEdgeId line,
MR.Vector2f point,
float distSq )
inline

Constructs MR.PolylineProjectionResult2 elementwise.

◆ Const_PolylineProjectionResult2() [3/4]

unsafe MR.Const_PolylineProjectionResult2.Const_PolylineProjectionResult2 ( MR.Const_PolylineProjectionResult2 _other)
inline

◆ Const_PolylineProjectionResult2() [4/4]

MR.Const_PolylineProjectionResult2.Const_PolylineProjectionResult2 ( PolylineProjectionResult2 _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_PolylineProjectionResult2.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_PolylineProjectionResult2.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator bool()

unsafe MR.Const_PolylineProjectionResult2.operator bool ( MR.Const_PolylineProjectionResult2 _this)
inlineexplicitstatic

Generated from conversion operator MR::PolylineProjectionResult2::operator bool.

◆ valid()

unsafe bool MR.Const_PolylineProjectionResult2.valid ( )
inline

check for validity, otherwise the projection was not found Generated from method MR.PolylineProjectionResult2.valid.

Member Data Documentation

◆ __ref_storage_distSq

unsafe float* MR.Const_PolylineProjectionResult2.__ref_storage_distSq
protected

◆ __ref_storage_line

unsafe MR.UndirectedEdgeId* MR.Const_PolylineProjectionResult2.__ref_storage_line
protected

◆ __ref_storage_point

unsafe MR.Vector2f* MR.Const_PolylineProjectionResult2.__ref_storage_point
protected

Property Documentation

◆ distSq

unsafe float MR.Const_PolylineProjectionResult2.distSq
get

squared distance from pt to proj

◆ line

unsafe ref readonly MR.UndirectedEdgeId MR.Const_PolylineProjectionResult2.line
get

polyline's edge containing the closest point

◆ point

unsafe ref readonly MR.Vector2f MR.Const_PolylineProjectionResult2.point
get

closest point on polyline, transformed by xf if it is given


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