Class RectangleNode

  • All Implemented Interfaces:
    Comparable<SegmentNode>

    public class RectangleNode
    extends SegmentNode
    The rectangle figure for encoding the many-to-many relation.
    Author:
    xiao
    • Field Detail

      • L_prime

        public long L_prime
    • Constructor Detail

      • RectangleNode

        public RectangleNode()
      • RectangleNode

        public RectangleNode​(long I1,
                             long I2,
                             long L,
                             long LL)
    • Method Detail

      • copyRectangle

        public void copyRectangle​(RectangleNode other)
      • intersect

        public boolean intersect​(SegmentNode q)
        Description copied from class: SegmentNode
        Testing if two figures are intersected. This interface implements standard intersection testing that ignores the semantics of the X- and Y- axis. Processing the semantics issues before calling this method. A sample usage, please @see heap_sensitive_intersection
        Overrides:
        intersect in class SegmentNode
        Returns: