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

this class can track multiple flows and find in each mesh vertex the amount of water reached it Generated from class MR.FlowAggregator. This is the const half of the class. More...

Inheritance diagram for MR.Const_FlowAggregator:

Classes

class  _ByValue_Flows
 This is used as a function parameter when the underlying function receives Flows by value. Usage:
class  _InOptConst_Flows
 This is used for optional parameters of class Flows with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_Flows. Usage:
class  _InOptMut_Flows
 This is used for optional parameters of class Flows with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_Flows. Usage:
struct  _Underlying
class  Const_Flows
 Generated from class MR.FlowAggregator.Flows. This is the const half of the class. More...
class  Flows
 Generated from class MR.FlowAggregator.Flows. This is the non-const half of the class. More...

Public Member Functions

virtual void Dispose ()
unsafe Const_FlowAggregator (MR._ByValue_FlowAggregator _other)
 Generated from constructor MR.FlowAggregator.FlowAggregator.
 Const_FlowAggregator (Const_FlowAggregator _other)
 Generated from constructor MR.FlowAggregator.FlowAggregator.
 Const_FlowAggregator (FlowAggregator _other)
 Generated from constructor MR.FlowAggregator.FlowAggregator.
unsafe Const_FlowAggregator (MR.Const_Mesh mesh, MR.Const_VertScalars heights)
 prepares the processing of given mesh with given height in each vertex Generated from constructor MR.FlowAggregator.FlowAggregator.
unsafe MR.VertScalars computeFlow (MR.Std.Const_Vector_MRFlowOrigin starts, MR.Const_OutputFlows? out_=null)
 tracks multiple flows
unsafe MR.VertScalars computeFlow (MR.Std.Const_Vector_MRMeshTriPoint starts, MR.Const_OutputFlows? out_=null)
 Generated from method MR.FlowAggregator.computeFlow. Parameter out_ defaults to {}.
unsafe MR.VertScalars computeFlow (ulong numStarts, MR.Std.Const_Function_MRMeshTriPoint_From_MRUint64T startById, MR.Std.Const_Function_Float_From_MRUint64T amountById, MR.Std.Const_Function_ConstMRFaceBitSetPtr_From_MRUint64T regionById, MR.Const_OutputFlows? out_=null)
 Generated from method MR.FlowAggregator.computeFlow. Parameter out_ defaults to {}.
unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows computeFlowsPerBasin (MR.Std.Const_Vector_MRFlowOrigin starts)
 tracks multiple flows
unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows computeFlowsPerBasin (MR.Std.Const_Vector_MRMeshTriPoint starts)
 Generated from method MR.FlowAggregator.computeFlowsPerBasin.
unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows computeFlowsPerBasin (ulong numStarts, MR.Std.Const_Function_MRMeshTriPoint_From_MRUint64T startById, MR.Std.Const_Function_Float_From_MRUint64T amountById)
 Generated from method MR.FlowAggregator.computeFlowsPerBasin.
unsafe MR.UndirectedEdgeBitSet computeCatchmentDelineation ()
 finds the edges on the mesh that divides catchment basin (every triangle is attributed to the final destination point based on the path originated from its centroid) Generated from method MR.FlowAggregator.computeCatchmentDelineation.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

this class can track multiple flows and find in each mesh vertex the amount of water reached it Generated from class MR.FlowAggregator. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_FlowAggregator() [1/4]

unsafe MR.Const_FlowAggregator.Const_FlowAggregator ( MR._ByValue_FlowAggregator _other)
inline

Generated from constructor MR.FlowAggregator.FlowAggregator.

◆ Const_FlowAggregator() [2/4]

MR.Const_FlowAggregator.Const_FlowAggregator ( Const_FlowAggregator _other)
inline

Generated from constructor MR.FlowAggregator.FlowAggregator.

◆ Const_FlowAggregator() [3/4]

MR.Const_FlowAggregator.Const_FlowAggregator ( FlowAggregator _other)
inline

Generated from constructor MR.FlowAggregator.FlowAggregator.

◆ Const_FlowAggregator() [4/4]

unsafe MR.Const_FlowAggregator.Const_FlowAggregator ( MR.Const_Mesh mesh,
MR.Const_VertScalars heights )
inline

prepares the processing of given mesh with given height in each vertex Generated from constructor MR.FlowAggregator.FlowAggregator.

Member Function Documentation

◆ computeCatchmentDelineation()

unsafe MR.UndirectedEdgeBitSet MR.Const_FlowAggregator.computeCatchmentDelineation ( )
inline

finds the edges on the mesh that divides catchment basin (every triangle is attributed to the final destination point based on the path originated from its centroid) Generated from method MR.FlowAggregator.computeCatchmentDelineation.

◆ computeFlow() [1/3]

unsafe MR.VertScalars MR.Const_FlowAggregator.computeFlow ( MR.Std.Const_Vector_MRFlowOrigin starts,
MR.Const_OutputFlows? out_ = null )
inline

tracks multiple flows

Parameters
startsthe origin of each flow (should be uniformly sampled over the terrain)
Returns
the flow reached each mesh vertex Generated from method MR.FlowAggregator.computeFlow. Parameter out_ defaults to {}.

◆ computeFlow() [2/3]

unsafe MR.VertScalars MR.Const_FlowAggregator.computeFlow ( MR.Std.Const_Vector_MRMeshTriPoint starts,
MR.Const_OutputFlows? out_ = null )
inline

Generated from method MR.FlowAggregator.computeFlow. Parameter out_ defaults to {}.

◆ computeFlow() [3/3]

unsafe MR.VertScalars MR.Const_FlowAggregator.computeFlow ( ulong numStarts,
MR.Std.Const_Function_MRMeshTriPoint_From_MRUint64T startById,
MR.Std.Const_Function_Float_From_MRUint64T amountById,
MR.Std.Const_Function_ConstMRFaceBitSetPtr_From_MRUint64T regionById,
MR.Const_OutputFlows? out_ = null )
inline

Generated from method MR.FlowAggregator.computeFlow. Parameter out_ defaults to {}.

◆ computeFlowsPerBasin() [1/3]

unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows MR.Const_FlowAggregator.computeFlowsPerBasin ( MR.Std.Const_Vector_MRFlowOrigin starts)
inline

tracks multiple flows

Parameters
startsthe origin of each flow (should be uniformly sampled over the terrain)
Returns
the flows grouped by the final destination vertex Generated from method MR.FlowAggregator.computeFlowsPerBasin.

◆ computeFlowsPerBasin() [2/3]

unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows MR.Const_FlowAggregator.computeFlowsPerBasin ( MR.Std.Const_Vector_MRMeshTriPoint starts)
inline

◆ computeFlowsPerBasin() [3/3]

unsafe MR.Phmap.FlatHashMap_MRVertId_MRFlowAggregatorFlows MR.Const_FlowAggregator.computeFlowsPerBasin ( ulong numStarts,
MR.Std.Const_Function_MRMeshTriPoint_From_MRUint64T startById,
MR.Std.Const_Function_Float_From_MRUint64T amountById )
inline

◆ Dispose() [1/2]

virtual void MR.Const_FlowAggregator.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

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