Intersection

Inheritance: java.lang.Object

public class Intersection

Constructors

Constructor Description
Intersection()

Methods

Method Description
areSimilarRectangles(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond) Check if the area of intersection of the rectangles is relatively large
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
polygonIntersects(PointList polygon1, PointList polygon2) Returns true if two polygons are intersected.
rectanglesIntersection(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond) First valuse is count in pixels, second is relation 0..1 from maximal, third second is relation 0..1 from minimal
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Intersection()

public Intersection()

areSimilarRectangles(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond)

public static boolean areSimilarRectangles(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond)

Check if the area of intersection of the rectangles is relatively large

Parameters:

Parameter Type Description
aFirst com.aspose.ms.System.Drawing.Rectangle First rectangle
aSecond com.aspose.ms.System.Drawing.Rectangle Second rectangle

Returns: boolean -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

polygonIntersects(PointList polygon1, PointList polygon2)

public static boolean polygonIntersects(PointList polygon1, PointList polygon2)

Returns true if two polygons are intersected.

Parameters:

Parameter Type Description
polygon1 PointList
polygon2 PointList

Returns: boolean

rectanglesIntersection(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond)

public static float[] rectanglesIntersection(System.Drawing.Rectangle aFirst, System.Drawing.Rectangle aSecond)

First valuse is count in pixels, second is relation 0..1 from maximal, third second is relation 0..1 from minimal

Parameters:

Parameter Type Description
aFirst com.aspose.ms.System.Drawing.Rectangle
aSecond com.aspose.ms.System.Drawing.Rectangle

Returns: float[]

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int