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.
- Alphabetic
- By Inheritance
- EdgeTracker
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addEdgeSegments(segmentInfo: EdgeSegmentInfo): Unit
- def addHorizontalSegment(edgeSegment: EdgeSegment): Unit
- def addVerticalSegment(edgeSegment: EdgeSegment): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def collidesHorizontal(edgeSegment: EdgeSegment): Boolean
- def collidesVertical(edgeSegment: EdgeSegment): Boolean
-
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 │ ╰───────╯ ╰───╯ ╰───────╯ ╰───╯
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def removeEdgeSegments(segmentInfo: EdgeSegmentInfo): Unit
- def removeHorizontalSegment(edgeSegment: EdgeSegment): Unit
- def removeVerticalSegment(edgeSegment: EdgeSegment): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- EdgeTracker → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )