Class ConjugateEdgeSegmentFactoryImpl

    • Constructor Detail

      • ConjugateEdgeSegmentFactoryImpl

        protected ConjugateEdgeSegmentFactoryImpl​(IdGroupingToken groupId,
                                                  ConjugateEdgeSegments conjugateEdgeSegments)
        Constructor
        Parameters:
        groupId - to use
        conjugateEdgeSegments - to use
    • Method Detail

      • registerNew

        public ConjugateEdgeSegment registerNew​(ConjugateDirectedEdge parentEdge,
                                                boolean directionAb,
                                                boolean registerOnVertexAndEdge)
        Create directional edge segment and register it
        Specified by:
        registerNew in interface ConjugateEdgeSegmentFactory
        Parameters:
        parentEdge - the parent edge of this edge segment
        directionAb - direction of travel
        registerOnVertexAndEdge - option to register the new edge segment on the underlying edge and its vertices
        Returns:
        the created edge segment