Class

com.github.mdr.ascii.layout.drawing

EdgeTracker

Related Doc: package drawing

Permalink

class EdgeTracker extends AnyRef

Keep track of vertex regions, and horizontal and vertical edge segments as we move them around, so we can detect collisions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EdgeTracker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeTracker(drawing: Drawing)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEdgeSegments(segmentInfo: EdgeSegmentInfo): Unit

    Permalink
  5. def addHorizontalSegment(edgeSegment: EdgeSegment): Unit

    Permalink
  6. def addVerticalSegment(edgeSegment: EdgeSegment): Unit

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def collidesHorizontal(edgeSegment: EdgeSegment): Boolean

    Permalink
  10. def collidesVertical(edgeSegment: EdgeSegment): Boolean

    Permalink
  11. def collidesWith(segmentInfo: EdgeSegmentInfo): Boolean

    Permalink

    Check that the segments won't overwrite existing segments, collide with vertices or arrows, and that it won't cause any new twists".

    Check that the segments won't overwrite existing segments, collide with vertices or arrows, and that it won't cause any new twists". Example of the latter: ╭─────╮ ╭─────╮ │ A │ │ A │ ╰─┬─┬─╯ ╰─┬─┬─╯ │ │ │ │ │ │ vs ╭─┼─╯ ╭───────╯ │ ╭─────┼─╯ │ ╭───╯ │ │ │ │ │ │ v v v v ╭───────╮ ╭───╮ ╭───────╮ ╭───╮ │ F │ │ G │ │ F │ │ G │ ╰───────╯ ╰───╯ ╰───────╯ ╰───╯

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def removeEdgeSegments(segmentInfo: EdgeSegmentInfo): Unit

    Permalink
  21. def removeHorizontalSegment(edgeSegment: EdgeSegment): Unit

    Permalink
  22. def removeVerticalSegment(edgeSegment: EdgeSegment): Unit

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    EdgeTracker → AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped