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

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

Inheritance diagram for MR.Const_EdgePoint:

Classes

struct  _Underlying

Public Member Functions

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)

Static Public Member Functions

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

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.EdgeId__ref_storage_e

Properties

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 )

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_EdgePoint() [1/6]

unsafe MR.Const_EdgePoint.Const_EdgePoint ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_EdgePoint() [2/6]

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

Generated from constructor MR.EdgePoint.EdgePoint.

◆ Const_EdgePoint() [3/6]

MR.Const_EdgePoint.Const_EdgePoint ( EdgePoint _other)
inline

Generated from constructor MR.EdgePoint.EdgePoint.

◆ Const_EdgePoint() [4/6]

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

Generated from constructor MR.EdgePoint.EdgePoint.

◆ Const_EdgePoint() [5/6]

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

Generated from constructor MR.EdgePoint.EdgePoint.

◆ Const_EdgePoint() [6/6]

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

Generated from constructor MR.EdgePoint.EdgePoint.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_EdgePoint.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

bool MR.Const_EdgePoint.Equals ( MR.Const_EdgePoint? rhs)
inline

◆ Equals() [2/2]

override bool MR.Const_EdgePoint.Equals ( object? other)
inline

◆ getClosestVertex() [1/2]

unsafe MR.VertId MR.Const_EdgePoint.getClosestVertex ( MR.Const_MeshTopology topology)
inline

returns one of two edge vertices, closest to this point Generated from method MR.EdgePoint.getClosestVertex.

◆ getClosestVertex() [2/2]

unsafe MR.VertId MR.Const_EdgePoint.getClosestVertex ( MR.Const_PolylineTopology topology)
inline

returns one of two edge vertices, closest to this point Generated from method MR.EdgePoint.getClosestVertex.

◆ inVertex() [1/3]

unsafe bool MR.Const_EdgePoint.inVertex ( )
inline

returns true if the point is in a vertex Generated from method MR.EdgePoint.inVertex.

◆ inVertex() [2/3]

unsafe MR.VertId MR.Const_EdgePoint.inVertex ( MR.Const_MeshTopology topology)
inline

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR.EdgePoint.inVertex.

◆ inVertex() [3/3]

unsafe MR.VertId MR.Const_EdgePoint.inVertex ( MR.Const_PolylineTopology topology)
inline

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR.EdgePoint.inVertex.

◆ isBd()

unsafe bool MR.Const_EdgePoint.isBd ( MR.Const_MeshTopology topology,
MR.Const_FaceBitSet? region = null )
inline

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.

◆ operator bool()

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

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

◆ operator!=()

unsafe bool MR.Const_EdgePoint.operator!= ( MR.Const_EdgePoint _this,
MR.Const_EdgePoint rhs )
inlinestatic

◆ operator==()

unsafe bool MR.Const_EdgePoint.operator== ( MR.Const_EdgePoint _this,
MR.Const_EdgePoint rhs )
inlinestatic

returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePoint::operator==.

◆ sym()

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

represents the same point relative to sym edge in Generated from method MR.EdgePoint.sym.

◆ valid()

unsafe bool MR.Const_EdgePoint.valid ( )
inline

consider this valid if the edge ID is valid Generated from method MR.EdgePoint.valid.

Member Data Documentation

◆ __ref_storage_e

unsafe MR.EdgeId* MR.Const_EdgePoint.__ref_storage_e
protected

Property Documentation

◆ a

unsafe MR.Const_SegmPointf MR.Const_EdgePoint.a
getprotected set

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

◆ e

unsafe ref readonly MR.EdgeId MR.Const_EdgePoint.e
get

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