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

Represents a segment on one edge Generated from class MR.EdgeSegment. This is the non-const half of the class. More...

Inheritance diagram for MR.EdgeSegment:

Public Member Functions

unsafe EdgeSegment ()
 Constructs an empty (default-constructed) instance.
unsafe EdgeSegment (MR.Const_EdgeSegment _other)
 Generated from constructor MR.EdgeSegment.EdgeSegment.
 EdgeSegment (EdgeSegment _other)
 Generated from constructor MR.EdgeSegment.EdgeSegment.
unsafe EdgeSegment (MR.EdgeId e, float? a=null, float? b=null)
 Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.
unsafe MR.EdgeSegment assign (MR.Const_EdgeSegment _other)
 Generated from method MR::EdgeSegment::operator=.
Public Member Functions inherited from MR.Const_EdgeSegment
virtual void Dispose ()
unsafe Const_EdgeSegment ()
 Constructs an empty (default-constructed) instance.
unsafe Const_EdgeSegment (MR.Const_EdgeSegment _other)
 Generated from constructor MR.EdgeSegment.EdgeSegment.
 Const_EdgeSegment (EdgeSegment _other)
 Generated from constructor MR.EdgeSegment.EdgeSegment.
unsafe Const_EdgeSegment (MR.EdgeId e, float? a=null, float? b=null)
 Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.
unsafe MR.EdgePoint edgePointA ()
 returns starting EdgePoint Generated from method MR.EdgeSegment.edgePointA.
unsafe MR.EdgePoint edgePointB ()
 returns ending EdgePoint Generated from method MR.EdgeSegment.edgePointB.
unsafe bool valid ()
 returns true if the edge is valid and start point is less than end point Generated from method MR.EdgeSegment.valid.
unsafe MR.EdgeSegment sym ()
 represents the same segment relative to sym edge in Generated from method MR.EdgeSegment.sym.
bool Equals (MR.Const_EdgeSegment? rhs)
override bool Equals (object? other)

Static Public Member Functions

static unsafe implicit operator EdgeSegment (MR.EdgeId e)
 Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.
Static Public Member Functions inherited from MR.Const_EdgeSegment
static unsafe implicit operator Const_EdgeSegment (MR.EdgeId e)
 Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.
static unsafe bool operator== (MR.Const_EdgeSegment _this, MR.Const_EdgeSegment rhs)
 Generated from method MR::EdgeSegment::operator==.
static unsafe bool operator!= (MR.Const_EdgeSegment _this, MR.Const_EdgeSegment rhs)

Properties

new unsafe ref MR.EdgeId e [get]
 id of the edge
new unsafe MR.SegmPointf a [get, protected set]
 start of the segment
new unsafe MR.SegmPointf b [get, protected set]
 end of the segment
Properties inherited from MR.Const_EdgeSegment
unsafe ref readonly MR.EdgeId e [get]
 id of the edge
unsafe MR.Const_SegmPointf a [get, protected set]
 start of the segment
unsafe MR.Const_SegmPointf b [get, protected set]
 end of the segment

Additional Inherited Members

Protected Member Functions inherited from MR.Const_EdgeSegment
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_EdgeSegment
unsafe MR.EdgeId__ref_storage_e

Detailed Description

Represents a segment on one edge Generated from class MR.EdgeSegment. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ EdgeSegment() [1/4]

unsafe MR.EdgeSegment.EdgeSegment ( )
inline

Constructs an empty (default-constructed) instance.

◆ EdgeSegment() [2/4]

unsafe MR.EdgeSegment.EdgeSegment ( MR.Const_EdgeSegment _other)
inline

Generated from constructor MR.EdgeSegment.EdgeSegment.

◆ EdgeSegment() [3/4]

MR.EdgeSegment.EdgeSegment ( EdgeSegment _other)
inline

Generated from constructor MR.EdgeSegment.EdgeSegment.

◆ EdgeSegment() [4/4]

unsafe MR.EdgeSegment.EdgeSegment ( MR.EdgeId e,
float? a = null,
float? b = null )
inline

Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.

Member Function Documentation

◆ assign()

unsafe MR.EdgeSegment MR.EdgeSegment.assign ( MR.Const_EdgeSegment _other)
inline

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

◆ operator EdgeSegment()

unsafe implicit MR.EdgeSegment.operator EdgeSegment ( MR.EdgeId e)
inlinestatic

Generated from constructor MR.EdgeSegment.EdgeSegment. Parameter a defaults to 0.0f. Parameter b defaults to 1.0f.

Property Documentation

◆ a

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

start of the segment

◆ b

new unsafe MR.SegmPointf MR.EdgeSegment.b
getprotected set

end of the segment

◆ e

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

id of the edge


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