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) | |
mathematical graph consisting from vertices and undirected edges Generated from class MR::Graph.
Instances created here own their C++ objects, see CppObject.
| meshlib.Graph.Graph | ( | 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.Graph.Graph | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Graph_DefaultConstruct().
| meshlib.Graph.Graph | ( | meshlib.Graph | _other | ) |
Generated from constructor MR::Graph::Graph. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Graph_ConstructFromAnother().
| boolean meshlib.Graph.areNeighbors | ( | meshlib.GraphVertId | a, |
| meshlib.GraphVertId | b ) |
returns true if the vertices a and b are neighbors Generated from method MR::Graph::areNeighbors.
Calls MR_Graph_areNeighbors().
| meshlib.Graph meshlib.Graph.assignFromAnother | ( | meshlib.Graph | _other | ) |
Generated from method MR::Graph::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Graph_AssignFromAnother().
| boolean meshlib.Graph.checkValidity | ( | ) |
verifies that all internal data structures are valid Generated from method MR::Graph::checkValidity.
Calls MR_Graph_checkValidity().
| void meshlib.Graph.construct | ( | meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId | neighboursPerVertex, |
| meshlib.GraphVertBitSet | validVerts, | ||
| meshlib.Vector_MR_Graph_EndVertices_MR_GraphEdgeId | endsPerEdge, | ||
| meshlib.GraphEdgeBitSet | validEdges ) |
constructs the graph from given data that can contain invalid vertices and edges Generated from method MR::Graph::construct.
Calls MR_Graph_construct_4().
| void meshlib.Graph.construct | ( | meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId | neighboursPerVertex, |
| meshlib.Vector_MR_Graph_EndVertices_MR_GraphEdgeId | endsPerEdge ) |
constructs the graph from all valid vertices and edges Generated from method MR::Graph::construct.
Calls MR_Graph_construct_2().
| long meshlib.Graph.edgeSize | ( | ) |
returns the number of edge records, including invalid ones Generated from method MR::Graph::edgeSize.
Calls MR_Graph_edgeSize().
| meshlib.Graph_EndVertices meshlib.Graph.ends | ( | meshlib.GraphEdgeId | e | ) |
returns the ends of given edge Generated from method MR::Graph::ends.
Calls MR_Graph_ends().
| meshlib.GraphEdgeId meshlib.Graph.findEdge | ( | meshlib.GraphVertId | a, |
| meshlib.GraphVertId | b ) |
finds and returns edge between vertices a and b; returns invalid edge otherwise Generated from method MR::Graph::findEdge.
Calls MR_Graph_findEdge().
| void meshlib.Graph.merge | ( | meshlib.GraphVertId | remnant, |
| meshlib.GraphVertId | dead, | ||
| meshlib.std_function_void_from_MR_GraphEdgeId_MR_GraphEdgeId | onMergeEdges ) |
unites two vertices into one (deleting the second one), which leads to deletion and merge of some edges, for which callback is called Generated from method MR::Graph::merge.
Calls MR_Graph_merge().
| meshlib.std_vector_MR_GraphEdgeId meshlib.Graph.neighbours | ( | meshlib.GraphVertId | v | ) |
returns all edges adjacent to given vertex Generated from method MR::Graph::neighbours.
Calls MR_Graph_neighbours().
| boolean meshlib.Graph.valid | ( | meshlib.GraphEdgeId | e | ) |
returns true if given edge is valid Generated from method MR::Graph::valid.
Calls MR_Graph_valid_MR_GraphEdgeId().
| boolean meshlib.Graph.valid | ( | meshlib.GraphVertId | v | ) |
returns true if given vertex is valid Generated from method MR::Graph::valid.
Calls MR_Graph_valid_MR_GraphVertId().
| meshlib.GraphEdgeBitSet meshlib.Graph.validEdges | ( | ) |
returns all valid edges in the graph Generated from method MR::Graph::validEdges.
Calls MR_Graph_validEdges().
| meshlib.GraphVertBitSet meshlib.Graph.validVerts | ( | ) |
returns all valid vertices in the graph Generated from method MR::Graph::validVerts.
Calls MR_Graph_validVerts().
| long meshlib.Graph.vertSize | ( | ) |
returns the number of vertex records, including invalid ones Generated from method MR::Graph::vertSize.
Calls MR_Graph_vertSize().