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

encodes a point inside a triangular mesh face using barycentric coordinates More...

+ Inheritance diagram for MR.MeshTriPoint:

Public Member Functions

unsafe MeshTriPoint ()
 Constructs an empty (default-constructed) instance.
 
unsafe MeshTriPoint (MR.Const_MeshTriPoint _other)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
 MeshTriPoint (MeshTriPoint _other)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
unsafe MeshTriPoint (MR.Const_NoInit _1)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
unsafe MeshTriPoint (MR.EdgeId e, MR.Const_TriPointf bary)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
unsafe MeshTriPoint (MR.Const_EdgePoint ep)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
unsafe MeshTriPoint (MR.Const_MeshTopology topology, MR.VertId v)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
unsafe MR.MeshTriPoint assign (MR.Const_MeshTriPoint _other)
 Generated from method MR.MeshTriPoint.operator=.
 

Static Public Member Functions

static unsafe implicit operator MeshTriPoint (MR.Const_NoInit _1)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 
static unsafe implicit operator MeshTriPoint (MR.Const_EdgePoint ep)
 Generated from constructor MR.MeshTriPoint.MeshTriPoint.
 

Properties

new unsafe ref MR.EdgeId e [get]
 < left face of this edge is considered
 
new unsafe MR.TriPointf bary [get, protected set]
 

Detailed Description

encodes a point inside a triangular mesh face using barycentric coordinates

Notations used below:
v0 - the value in org( e )
v1 - the value in dest( e )
v2 - the value in dest( next( e ) ) Generated from class MR.MeshTriPoint. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ MeshTriPoint() [1/7]

unsafe MR.MeshTriPoint.MeshTriPoint ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshTriPoint() [2/7]

unsafe MR.MeshTriPoint.MeshTriPoint ( MR.Const_MeshTriPoint _other)
inline

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ MeshTriPoint() [3/7]

MR.MeshTriPoint.MeshTriPoint ( MeshTriPoint _other)
inline

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ MeshTriPoint() [4/7]

unsafe MR.MeshTriPoint.MeshTriPoint ( MR.Const_NoInit _1)
inline

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ MeshTriPoint() [5/7]

unsafe MR.MeshTriPoint.MeshTriPoint ( MR.EdgeId e,
MR.Const_TriPointf bary )
inline

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ MeshTriPoint() [6/7]

unsafe MR.MeshTriPoint.MeshTriPoint ( MR.Const_EdgePoint ep)
inline

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ MeshTriPoint() [7/7]

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

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

Member Function Documentation

◆ assign()

unsafe MR.MeshTriPoint MR.MeshTriPoint.assign ( MR.Const_MeshTriPoint _other)
inline

Generated from method MR.MeshTriPoint.operator=.

◆ operator MeshTriPoint() [1/2]

static unsafe implicit MR.MeshTriPoint.operator MeshTriPoint ( MR.Const_EdgePoint ep)
inlinestatic

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

◆ operator MeshTriPoint() [2/2]

static unsafe implicit MR.MeshTriPoint.operator MeshTriPoint ( MR.Const_NoInit _1)
inlinestatic

Generated from constructor MR.MeshTriPoint.MeshTriPoint.

Property Documentation

◆ bary

new unsafe MR.TriPointf MR.MeshTriPoint.bary
getprotected set

barycentric coordinates

a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge

◆ e

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

< left face of this edge is considered


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