Package soot.jimple.spark.geom.dataRep
Class RectangleNode
- java.lang.Object
-
- soot.jimple.spark.geom.dataRep.SegmentNode
-
- soot.jimple.spark.geom.dataRep.RectangleNode
-
- All Implemented Interfaces:
Comparable<SegmentNode>
public class RectangleNode extends SegmentNode
The rectangle figure for encoding the many-to-many relation.- Author:
- xiao
-
-
Constructor Summary
Constructors Constructor Description RectangleNode()RectangleNode(long I1, long I2, long L, long LL)RectangleNode(RectangleNode other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyRectangle(RectangleNode other)booleanequals(RectangleNode other)booleanintersect(SegmentNode q)Testing if two figures are intersected.longyEnd()-
Methods inherited from class soot.jimple.spark.geom.dataRep.SegmentNode
compareTo, copySegment, equals, projYIntersect, xEnd
-
-
-
-
Constructor Detail
-
RectangleNode
public RectangleNode()
-
RectangleNode
public RectangleNode(RectangleNode other)
-
RectangleNode
public RectangleNode(long I1, long I2, long L, long LL)
-
-
Method Detail
-
copyRectangle
public void copyRectangle(RectangleNode other)
-
equals
public boolean equals(RectangleNode other)
-
yEnd
public long yEnd()
- Overrides:
yEndin classSegmentNode
-
intersect
public boolean intersect(SegmentNode q)
Description copied from class:SegmentNodeTesting 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:
intersectin classSegmentNode- Returns:
-
-