Class CentroidImpl

    • Field Detail

      • parentZone

        protected final Zone parentZone
        the zone this centroid represents
    • Constructor Detail

      • CentroidImpl

        public 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

      • getParentZone

        public Zone getParentZone()
        Return the parent zone of this centroid
        Specified by:
        getParentZone in interface Centroid
        Returns:
        parent zone of this centroid