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

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

Inheritance diagram for MR.EdgePointd:

Public Member Functions

unsafe EdgePointd ()
 Constructs an empty (default-constructed) instance.
unsafe EdgePointd (MR.Const_EdgePointd _other)
 Generated from constructor MR.EdgePointd.EdgePointd.
 EdgePointd (EdgePointd _other)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe EdgePointd (MR.EdgeId e, double a)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe EdgePointd (MR.Const_MeshTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe EdgePointd (MR.Const_PolylineTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe MR.EdgePointd assign (MR.Const_EdgePointd _other)
 Generated from method MR::EdgePointd::operator=.
unsafe void moveToClosestVertex ()
 sets this to the closest end of the edge Generated from method MR.EdgePointd.moveToClosestVertex.
Public Member Functions inherited from MR.Const_EdgePointd
virtual void Dispose ()
unsafe Const_EdgePointd ()
 Constructs an empty (default-constructed) instance.
unsafe Const_EdgePointd (MR.Const_EdgePointd _other)
 Generated from constructor MR.EdgePointd.EdgePointd.
 Const_EdgePointd (EdgePointd _other)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe Const_EdgePointd (MR.EdgeId e, double a)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe Const_EdgePointd (MR.Const_MeshTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePointd.EdgePointd.
unsafe Const_EdgePointd (MR.Const_PolylineTopology topology, MR.VertId v)
 Generated from constructor MR.EdgePointd.EdgePointd.
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.EdgePointd.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.EdgePointd.inVertex.
unsafe MR.VertId getClosestVertex (MR.Const_MeshTopology topology)
 returns one of two edge vertices, closest to this point Generated from method MR.EdgePointd.getClosestVertex.
unsafe MR.VertId getClosestVertex (MR.Const_PolylineTopology topology)
 returns one of two edge vertices, closest to this point Generated from method MR.EdgePointd.getClosestVertex.
unsafe bool inVertex ()
 returns true if the point is in a vertex Generated from method MR.EdgePointd.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.EdgePointd.isBd.
unsafe bool valid ()
 consider this valid if the edge ID is valid Generated from method MR.EdgePointd.valid.
unsafe MR.EdgePointd sym ()
 represents the same point relative to sym edge in Generated from method MR.EdgePointd.sym.
bool Equals (MR.Const_EdgePointd? rhs)
override bool Equals (object? other)

Properties

new unsafe ref MR.EdgeId e [get]
new unsafe MR.SegmPointd 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_EdgePointd
unsafe ref readonly MR.EdgeId e [get]
unsafe MR.Const_SegmPointd 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_EdgePointd
static unsafe operator bool (MR.Const_EdgePointd _this)
 Generated from conversion operator MR::EdgePointd::operator bool.
static unsafe bool operator== (MR.Const_EdgePointd _this, MR.Const_EdgePointd rhs)
 returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePointd::operator==.
static unsafe bool operator!= (MR.Const_EdgePointd _this, MR.Const_EdgePointd rhs)
Protected Member Functions inherited from MR.Const_EdgePointd
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_EdgePointd
unsafe MR.EdgeId * __ref_storage_e

Detailed Description

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

Constructor & Destructor Documentation

◆ EdgePointd() [1/6]

unsafe MR.EdgePointd.EdgePointd ( )
inline

Constructs an empty (default-constructed) instance.

◆ EdgePointd() [2/6]

unsafe MR.EdgePointd.EdgePointd ( MR.Const_EdgePointd _other)
inline

Generated from constructor MR.EdgePointd.EdgePointd.

◆ EdgePointd() [3/6]

MR.EdgePointd.EdgePointd ( EdgePointd _other)
inline

Generated from constructor MR.EdgePointd.EdgePointd.

◆ EdgePointd() [4/6]

unsafe MR.EdgePointd.EdgePointd ( MR.EdgeId e,
double a )
inline

Generated from constructor MR.EdgePointd.EdgePointd.

◆ EdgePointd() [5/6]

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

Generated from constructor MR.EdgePointd.EdgePointd.

◆ EdgePointd() [6/6]

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

Generated from constructor MR.EdgePointd.EdgePointd.

Member Function Documentation

◆ assign()

unsafe MR.EdgePointd MR.EdgePointd.assign ( MR.Const_EdgePointd _other)
inline

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

◆ moveToClosestVertex()

unsafe void MR.EdgePointd.moveToClosestVertex ( )
inline

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

Property Documentation

◆ a

new unsafe MR.SegmPointd MR.EdgePointd.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.EdgePointd.e
get

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