39 MRMESH_API VertScalars computeFlow(
const std::vector<FlowOrigin> & starts,
const OutputFlows & out = {} )
const;
41 MRMESH_API VertScalars computeFlow(
const std::vector<MeshTriPoint> & starts,
const OutputFlows & out = {} )
const;
43 MRMESH_API VertScalars computeFlow(
size_t numStarts,
44 const std::function<MeshTriPoint(
size_t)> & startById,
45 const std::function<
float(
size_t)> & amountById,
46 const std::function<
const FaceBitSet*(
size_t)> & regionById,
47 const OutputFlows & out = {} )
const;
58 MRMESH_API HashMap<VertId, Flows> computeFlowsPerBasin(
const std::vector<FlowOrigin> & starts )
const;
60 MRMESH_API HashMap<VertId, Flows> computeFlowsPerBasin(
const std::vector<MeshTriPoint> & starts )
const;
62 MRMESH_API HashMap<VertId, Flows> computeFlowsPerBasin(
size_t numStarts,
64 const std::function<
float(
size_t)> & amountById )
const;
76 std::vector<VertId> vertsSortedDesc_;
#define MRMESH_API
Definition MRMeshFwd.h:80
unsafe FlowAggregator(MR._ByValue_FlowAggregator _other)
new unsafe ref float amount
new unsafe MR.MeshTriPoint point
Definition MRMeshTriPoint.h:23
Definition MRMesh/MRMesh.h:23
new unsafe ref float amountGreaterThan
new unsafe MR.? Polyline3 pPolyline
new unsafe MR.? UndirectedEdgeScalars pFlowPerEdge
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:19
Definition MRCameraOrientationPlugin.h:8
Definition MRAggregateFlow.h:50
UndirectedEdgeScalars flowPerEdge
Definition MRAggregateFlow.h:52
Polyline3 polyline
Definition MRAggregateFlow.h:51