Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
this class can track multiple flows and find in each mesh vertex the amount of water reached it Generated from class MR::FlowAggregator.
Instances created here own their C++ objects, see CppObject.
| meshlib.FlowAggregator.FlowAggregator | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.FlowAggregator.FlowAggregator | ( | meshlib.FlowAggregator | _other | ) |
Generated from constructor MR::FlowAggregator::FlowAggregator. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_FlowAggregator_ConstructFromAnother().
| meshlib.FlowAggregator.FlowAggregator | ( | meshlib.Mesh | mesh, |
| meshlib.VertScalars | heights ) |
prepares the processing of given mesh with given height in each vertex Generated from constructor MR::FlowAggregator::FlowAggregator. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter heights might be preserved in the constructed object.
Calls MR_FlowAggregator_Construct().
| meshlib.UndirectedEdgeBitSet meshlib.FlowAggregator.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.
Calls MR_FlowAggregator_computeCatchmentDelineation().
| meshlib.VertScalars meshlib.FlowAggregator.computeFlow | ( | long | numStarts, |
| meshlib.std_function_MR_MeshTriPoint_from_size_t | startById, | ||
| meshlib.std_function_float_from_size_t | amountById, | ||
| meshlib.std_function_const_MR_FaceBitSet_ptr_from_size_t | regionById, | ||
| meshlib.OutputFlows | out ) |
general version that supplies starts in a functional way Generated from method MR::FlowAggregator::computeFlow.
Calls MR_FlowAggregator_computeFlow_5().
| meshlib.VertScalars meshlib.FlowAggregator.computeFlow | ( | meshlib.std_vector_MR_FlowOrigin | starts, |
| meshlib.OutputFlows | out ) |
tracks multiple flows
| starts | the origin of each flow (should be uniformly sampled over the terrain) |
Calls MR_FlowAggregator_computeFlow_2_std_vector_MR_FlowOrigin().
| meshlib.VertScalars meshlib.FlowAggregator.computeFlow | ( | meshlib.std_vector_MR_MeshTriPoint | starts, |
| meshlib.OutputFlows | out ) |
same with all amounts equal to 1 Generated from method MR::FlowAggregator::computeFlow.
Calls MR_FlowAggregator_computeFlow_2_std_vector_MR_MeshTriPoint().
| meshlib.phmap.phmap_flat_hash_map_MR_VertId_MR_FlowAggregator_Flows_phmap_Hash_MR_VertId_phmap_EqualTo_MR_VertId_M__e593e025 meshlib.FlowAggregator.computeFlowsPerBasin | ( | long | numStarts, |
| meshlib.std_function_MR_MeshTriPoint_from_size_t | startById, | ||
| meshlib.std_function_float_from_size_t | amountById ) |
general version that supplies starts in a functional way Generated from method MR::FlowAggregator::computeFlowsPerBasin.
Calls MR_FlowAggregator_computeFlowsPerBasin_3().
| meshlib.phmap.phmap_flat_hash_map_MR_VertId_MR_FlowAggregator_Flows_phmap_Hash_MR_VertId_phmap_EqualTo_MR_VertId_M__e593e025 meshlib.FlowAggregator.computeFlowsPerBasin | ( | meshlib.std_vector_MR_FlowOrigin | starts | ) |
tracks multiple flows
| starts | the origin of each flow (should be uniformly sampled over the terrain) |
Calls MR_FlowAggregator_computeFlowsPerBasin_1_std_vector_MR_FlowOrigin().
| meshlib.phmap.phmap_flat_hash_map_MR_VertId_MR_FlowAggregator_Flows_phmap_Hash_MR_VertId_phmap_EqualTo_MR_VertId_M__e593e025 meshlib.FlowAggregator.computeFlowsPerBasin | ( | meshlib.std_vector_MR_MeshTriPoint | starts | ) |
same with all amounts equal to 1 Generated from method MR::FlowAggregator::computeFlowsPerBasin.
Calls MR_FlowAggregator_computeFlowsPerBasin_1_std_vector_MR_MeshTriPoint().