Classes | |
| class | ConstFlows |
| class | Flows |
Generated from: MR::FlowAggregator this class can track multiple flows and find in each mesh vertex the amount of water reached it
| mrmeshpy.ConstFlowAggregator.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFlowAggregator, mesh: meshlib.mrmeshpy.ConstMesh, heights: meshlib.mrmeshpy.ConstVertScalars) -> None prepares the processing of given mesh with given height in each vertex 2. __init__(self: meshlib.mrmeshpy.ConstFlowAggregator, arg0: meshlib.mrmeshpy.ConstFlowAggregator) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstFlowAggregator, : meshlib.mrmeshpy.ConstFlowAggregator) -> None
| UndirectedEdgeBitSet mrmeshpy.ConstFlowAggregator.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 mrmeshpy.ConstFlowAggregator.computeFlow | ( | self, | |
| Const_std_vector_FlowOrigin | starts, | ||
| ConstOutputFlows | out = ... ) |
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 mrmeshpy.ConstFlowAggregator.computeFlow | ( | self, | |
| Const_std_vector_MeshTriPointT_float | starts, | ||
| ConstOutputFlows | out = ... ) |
same with all amounts equal to 1
| VertScalars mrmeshpy.ConstFlowAggregator.computeFlow | ( | self, | |
| int | numStarts, | ||
| Const_func_MeshTriPointT_float_from_unsigned_long | startById, | ||
| Const_func_float_from_unsigned_long | amountById, | ||
| Const_func_TypedBitSet_Id_FaceTag_const_ptr_from_unsigned_long | regionById, | ||
| ConstOutputFlows | out = ... ) |
general version that supplies starts in a functional way
| phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_FlowAggregator_Flows mrmeshpy.ConstFlowAggregator.computeFlowsPerBasin | ( | self, | |
| Const_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_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_FlowAggregator_Flows mrmeshpy.ConstFlowAggregator.computeFlowsPerBasin | ( | self, | |
| Const_std_vector_MeshTriPointT_float | starts ) |
same with all amounts equal to 1
| phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_FlowAggregator_Flows mrmeshpy.ConstFlowAggregator.computeFlowsPerBasin | ( | self, | |
| int | numStarts, | ||
| Const_func_MeshTriPointT_float_from_unsigned_long | startById, | ||
| Const_func_float_from_unsigned_long | amountById ) |
general version that supplies starts in a functional way