Class ConjugateLinkSegmentFactoryImpl

    • Constructor Detail

      • ConjugateLinkSegmentFactoryImpl

        protected ConjugateLinkSegmentFactoryImpl​(IdGroupingToken groupId,
                                                  ConjugateLinkSegments container)
        Constructor
        Parameters:
        groupId - to use
        container - to use
    • Method Detail

      • registerNew

        public ConjugateLinkSegment registerNew​(ConjugateLink parent,
                                                boolean directionAb,
                                                boolean registerOnNodeAndLink)
        Create conjugate link segment and register it
        Specified by:
        registerNew in interface ConjugateLinkSegmentFactory
        Parameters:
        parent - the parent of this conjugate segment
        directionAb - direction of travel
        registerOnNodeAndLink - option to register the new conjugate segment on the underlying conjugate link and its conjugate nodes
        Returns:
        the created segment