public class SComponent extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Returns true iff the set of boundary vertices is identical, and the smallest in-boundary edge is equal (the two imply that the components are identical, if they are on the same graph).
|
Int2ObjectMap<SComponent> |
getAllNonSplits(Map<SComponent,SComponent> storedComponents,
GraphInfo graphInfo)
Provides a map that assigns to each non-cut vertex a version of this BRepComponent where that non-cut vertex became a source.
|
Int2ObjectMap<Set<SComponent>> |
getAllSplits(Map<SComponent,SComponent> storedComponents,
GraphInfo graphInfo)
Provides a map that assigns to each cut vertex the set of components it cuts this component into.
|
int |
hashCode()
Based on the set of boundary vertices and the smallest in-boundary edge.
|
String |
toString() |
String |
toString(GraphInfo completeGraphInfo)
Returns a string representing this component with node and edge names.
|
public boolean equals(Object other)
public int hashCode()
public Int2ObjectMap<Set<SComponent>> getAllSplits(Map<SComponent,SComponent> storedComponents, GraphInfo graphInfo)
storedComponents
- graphInfo
- public Int2ObjectMap<SComponent> getAllNonSplits(Map<SComponent,SComponent> storedComponents, GraphInfo graphInfo)
storedComponents
- graphInfo
- public String toString(GraphInfo completeGraphInfo)
toString()
function for readability.completeGraphInfo
- Copyright © 2017. All rights reserved.