Package org.planit.network.virtual
Class CentroidImpl
- java.lang.Object
- 
- org.planit.graph.VertexImpl
- 
- org.planit.network.virtual.CentroidImpl
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Vertex>,- Vertex,- Centroid
 
 public class CentroidImpl extends VertexImpl implements Centroid Centroid implementation- Author:
- gman6028
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.planit.graph.VertexImplVertexImpl.EdgeSegmentsImpl, VertexImpl.EdgesImpl
 - 
Nested classes/interfaces inherited from interface org.planit.utils.graph.VertexVertex.Edges, Vertex.EdgeSegments
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected ZoneparentZonethe zone this centroid represents- 
Fields inherited from class org.planit.graph.VertexImplcentrePointGeometry, edges, entryEdgeSegments, exitEdgeSegments, id, inputProperties
 
- 
 - 
Constructor SummaryConstructors Constructor Description CentroidImpl(IdGroupingToken groupId, Zone parentZone)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonegetParentZone()Return the parent zone of this centroid- 
Methods inherited from class org.planit.graph.VertexImpladdInputProperty, compareTo, generateVertexId, getCentrePointGeometry, getEdges, getEntryEdgeSegments, getExitEdgeSegments, getId, getInputProperty, setCentrePointGeometry
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface org.planit.utils.graph.VertexgetCentrePointGeometry, getEdges, getEntryEdgeSegments, getExitEdgeSegments, getId, setCentrePointGeometry
 
- 
 
- 
- 
- 
Field Detail- 
parentZoneprotected final Zone parentZone the zone this centroid represents
 
- 
 - 
Constructor Detail- 
CentroidImplpublic CentroidImpl(IdGroupingToken groupId, Zone parentZone) Constructor- Parameters:
- groupId- contiguous id generation within this group for instances of this class
- parentZone- the parent zone of this Centroid
 
 
- 
 - 
Method Detail- 
getParentZonepublic Zone getParentZone() Return the parent zone of this centroid- Specified by:
- getParentZonein interface- Centroid
- Returns:
- parent zone of this centroid
 
 
- 
 
-