Constructor and Description |
---|
GraphComponent() |
GraphComponent(Label label) |
Modifier and Type | Method and Description |
---|---|
abstract Coordinate |
getCoordinate() |
Label |
getLabel() |
boolean |
isCovered() |
boolean |
isCoveredSet() |
boolean |
isInResult() |
abstract boolean |
isIsolated()
An isolated component is one that does not intersect or touch any other
component.
|
boolean |
isVisited() |
void |
setCovered(boolean isCovered) |
void |
setInResult(boolean isInResult) |
void |
setLabel(Label label) |
void |
setVisited(boolean isVisited) |
void |
updateIM(IntersectionMatrix im)
Update the IM with the contribution for this component.
|
public GraphComponent()
public GraphComponent(Label label)
public Label getLabel()
public void setLabel(Label label)
public void setInResult(boolean isInResult)
public boolean isInResult()
public void setCovered(boolean isCovered)
public boolean isCovered()
public boolean isCoveredSet()
public boolean isVisited()
public void setVisited(boolean isVisited)
public abstract Coordinate getCoordinate()
public abstract boolean isIsolated()
public void updateIM(IntersectionMatrix im)
im
- Intersection matrixCopyright © 2022. All rights reserved.