com.github.mdr.ascii.layout.drawing

EdgeTracker

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeTracker(drawing: Drawing)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEdgeSegments(segmentInfo: EdgeSegmentInfo): Unit

  7. def addHorizontalSegment(edgeSegment: EdgeSegment): Unit

  8. def addVerticalSegment(edgeSegment: EdgeSegment): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

  12. def collidesVertical(edgeSegment: EdgeSegment): Boolean

  13. def collidesWith(segmentInfo: EdgeSegmentInfo): Boolean

    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 │ ╰───────╯ ╰───╯ ╰───────╯ ╰───╯

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

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

  23. def removeHorizontalSegment(edgeSegment: EdgeSegment): Unit

  24. def removeVerticalSegment(edgeSegment: EdgeSegment): Unit

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    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