MeshLib C# Docs
Loading...
Searching...
No Matches
MR.EdgePoint Class Reference

encodes a point on an edge of mesh or of polyline Generated from class MR.EdgePoint. This is the non-const half of the class. More...

Inheritance diagram for MR.EdgePoint:

Public Member Functions

unsafe EdgePoint ()
 Constructs an empty (default-constructed) instance.
unsafe EdgePoint (MR.Const_EdgePoint _other)
 Generated from constructor MR.EdgePoint.EdgePoint.
 EdgePoint (EdgePoint _other)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe EdgePoint (MR.EdgeId e, float a)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe EdgePoint (MR.Const_MeshTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe EdgePoint (MR.Const_PolylineTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe MR.EdgePoint assign (MR.Const_EdgePoint _other)
 Generated from method MR::EdgePoint::operator=.
unsafe void moveToClosestVertex ()
 sets this to the closest end of the edge Generated from method MR.EdgePoint.moveToClosestVertex.
Public Member Functions inherited from MR.Const_EdgePoint
virtual void Dispose ()
unsafe Const_EdgePoint ()
 Constructs an empty (default-constructed) instance.
unsafe Const_EdgePoint (MR.Const_EdgePoint _other)
 Generated from constructor MR.EdgePoint.EdgePoint.
 Const_EdgePoint (EdgePoint _other)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe Const_EdgePoint (MR.EdgeId e, float a)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe Const_EdgePoint (MR.Const_MeshTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe Const_EdgePoint (MR.Const_PolylineTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePoint.EdgePoint.
unsafe MR.VertId inVertex (MR.Const_MeshTopology topology)
 returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR.EdgePoint.inVertex.
unsafe MR.VertId inVertex (MR.Const_PolylineTopology topology)
 returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR.EdgePoint.inVertex.
unsafe MR.VertId getClosestVertex (MR.Const_MeshTopology topology)
 returns one of two edge vertices, closest to this point Generated from method MR.EdgePoint.getClosestVertex.
unsafe MR.VertId getClosestVertex (MR.Const_PolylineTopology topology)
 returns one of two edge vertices, closest to this point Generated from method MR.EdgePoint.getClosestVertex.
unsafe bool inVertex ()
 returns true if the point is in a vertex Generated from method MR.EdgePoint.inVertex.
unsafe bool isBd (MR.Const_MeshTopology topology, MR.Const_FaceBitSet? region=null)
 returns true if the point is on the boundary of the region (or for whole mesh if region is nullptr) Generated from method MR.EdgePoint.isBd.
unsafe bool valid ()
 consider this valid if the edge ID is valid Generated from method MR.EdgePoint.valid.
unsafe MR.EdgePoint sym ()
 represents the same point relative to sym edge in Generated from method MR.EdgePoint.sym.
bool Equals (MR.Const_EdgePoint? rhs)
override bool Equals (object? other)

Properties

new unsafe ref MR.EdgeId e [get]
new unsafe MR.SegmPointf a [get, protected set]
 a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )
Properties inherited from MR.Const_EdgePoint
unsafe ref readonly MR.EdgeId e [get]
unsafe MR.Const_SegmPointf a [get, protected set]
 a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_EdgePoint
static unsafe operator bool (MR.Const_EdgePoint _this)
 Generated from conversion operator MR::EdgePoint::operator bool.
static unsafe bool operator== (MR.Const_EdgePoint _this, MR.Const_EdgePoint rhs)
 returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePoint::operator==.
static unsafe bool operator!= (MR.Const_EdgePoint _this, MR.Const_EdgePoint rhs)
Protected Member Functions inherited from MR.Const_EdgePoint
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_EdgePoint
unsafe MR.EdgeId__ref_storage_e

Detailed Description

encodes a point on an edge of mesh or of polyline Generated from class MR.EdgePoint. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ EdgePoint() [1/6]

unsafe MR.EdgePoint.EdgePoint ( )
inline

Constructs an empty (default-constructed) instance.

◆ EdgePoint() [2/6]

unsafe MR.EdgePoint.EdgePoint ( MR.Const_EdgePoint _other)
inline

Generated from constructor MR.EdgePoint.EdgePoint.

◆ EdgePoint() [3/6]

MR.EdgePoint.EdgePoint ( EdgePoint _other)
inline

Generated from constructor MR.EdgePoint.EdgePoint.

◆ EdgePoint() [4/6]

unsafe MR.EdgePoint.EdgePoint ( MR.EdgeId e,
float a )
inline

Generated from constructor MR.EdgePoint.EdgePoint.

◆ EdgePoint() [5/6]

unsafe MR.EdgePoint.EdgePoint ( MR.Const_MeshTopology topology,
MR.VertId v )
inline

Generated from constructor MR.EdgePoint.EdgePoint.

◆ EdgePoint() [6/6]

unsafe MR.EdgePoint.EdgePoint ( MR.Const_PolylineTopology topology,
MR.VertId v )
inline

Generated from constructor MR.EdgePoint.EdgePoint.

Member Function Documentation

◆ assign()

unsafe MR.EdgePoint MR.EdgePoint.assign ( MR.Const_EdgePoint _other)
inline

Generated from method MR::EdgePoint::operator=.

◆ moveToClosestVertex()

unsafe void MR.EdgePoint.moveToClosestVertex ( )
inline

sets this to the closest end of the edge Generated from method MR.EdgePoint.moveToClosestVertex.

Property Documentation

◆ a

new unsafe MR.SegmPointf MR.EdgePoint.a
getprotected set

a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )

◆ e

new unsafe ref MR.EdgeId MR.EdgePoint.e
get

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