Classes | |
class | Flows |
Generated from: MR::FlowAggregator this class can track multiple flows and find in each mesh vertex the amount of water reached it
None meshlib.mrmeshpy.FlowAggregator.__init__ | ( | self, | |
Mesh | mesh, | ||
VertScalars | heights ) |
prepares the processing of given mesh with given height in each vertex
None meshlib.mrmeshpy.FlowAggregator.__init__ | ( | self, | |
FlowAggregator | arg0 ) |
Implicit copy constructor.
UndirectedEdgeBitSet meshlib.mrmeshpy.FlowAggregator.computeCatchmentDelineation | ( | self | ) |
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)
VertScalars meshlib.mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
int | numStarts, | ||
func_MeshTriPoint_from_unsigned_long | startById, | ||
func_float_from_unsigned_long | amountById, | ||
func_TaggedBitSet_FaceTag_const_from_unsigned_long | regionById, | ||
OutputFlows | out = 'MR::OutputFlows{}' ) |
general version that supplies starts in a functional way
VertScalars meshlib.mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
std_vector_FlowOrigin | starts, | ||
OutputFlows | out = 'MR::OutputFlows{}' ) |
tracks multiple flows \\param starts the origin of each flow (should be uniformly sampled over the terrain) \\return the flow reached each mesh vertex
VertScalars meshlib.mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
std_vector_MeshTriPoint | starts, | ||
OutputFlows | out = 'MR::OutputFlows{}' ) |
same with all amounts equal to 1
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows meshlib.mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
int | numStarts, | ||
func_MeshTriPoint_from_unsigned_long | startById, | ||
func_float_from_unsigned_long | amountById ) |
general version that supplies starts in a functional way
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows meshlib.mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
std_vector_FlowOrigin | starts ) |
tracks multiple flows \\param starts the origin of each flow (should be uniformly sampled over the terrain) \\return the flows grouped by the final destination vertex
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows meshlib.mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
std_vector_MeshTriPoint | starts ) |
same with all amounts equal to 1