Package soot.jimple.spark.geom.dataRep
Class ShapeNode
- java.lang.Object
-
- soot.jimple.spark.geom.dataRep.ShapeNode
-
public abstract class ShapeNode extends Object
It is the the abstract super type of geometric figures and the manager of all the generated sub-type figures. It is not used currently and we leave it here as an extensible point in future.- Author:
- xiao
-
-
Constructor Summary
Constructors Constructor Description ShapeNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcopy(ShapeNode other)abstract booleancoverThisXValue(long x)Test if the input x parameter falls in the range of the X coordinates of this figureabstract booleaninclusionTest(ShapeNode other)Test if the invoked figure contains the passed in figureabstract ShapeNodemakeDuplicate()Clone itself and make a new instance.abstract voidprintSelf(PrintStream outPrintStream)
-
-
-
Field Detail
-
I1
public long I1
-
I2
public long I2
-
E1
public long E1
-
is_new
public boolean is_new
-
next
public ShapeNode next
-
-
Method Detail
-
makeDuplicate
public abstract ShapeNode makeDuplicate()
Clone itself and make a new instance.- Returns:
-
inclusionTest
public abstract boolean inclusionTest(ShapeNode other)
Test if the invoked figure contains the passed in figure- Parameters:
other-- Returns:
-
coverThisXValue
public abstract boolean coverThisXValue(long x)
Test if the input x parameter falls in the range of the X coordinates of this figure- Parameters:
x-- Returns:
-
printSelf
public abstract void printSelf(PrintStream outPrintStream)
-
copy
public abstract void copy(ShapeNode other)
-
-