WaveAlgorithm
Contents
[
Hide
]
Inheritance: java.lang.Object
public class WaveAlgorithm
Realization of wave algoritm in 2D binarry matrix, where -1 untouchable point 0 unamrked point any positive value is marked point
Constructors
| Constructor | Description |
|---|---|
| WaveAlgorithm() |
Methods
WaveAlgorithm()
public WaveAlgorithm()
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>
getMarkBitmapSByteBitmapWithColor(ByteBitmap aBitmap, byte aColor)
public static SByteBitmap getMarkBitmapSByteBitmapWithColor(ByteBitmap aBitmap, byte aColor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| aBitmap | ByteBitmap | |
| aColor | byte |
Returns: SByteBitmap
hashCode()
public native int hashCode()
Returns: int
internalWaveStep(IntBitmap aArr, List<System.Drawing.Point> aOldWave, int aIter, boolean aStraight, List<System.Drawing.Point> aMarkedPts, int aMaxMarkedPoints)
public static int internalWaveStep(IntBitmap aArr, List<System.Drawing.Point> aOldWave, int aIter, boolean aStraight, List<System.Drawing.Point> aMarkedPts, int aMaxMarkedPoints)
Wave algoritm function
Parameters:
| Parameter | Type | Description |
|---|---|---|
| aArr | IntBitmap | marked matrix with 1, 0 and positive values |
| aOldWave | java.util.List<com.aspose.ms.System.Drawing.Point> | Old wave |
| aIter | int | Iteration number |
| aStraight | boolean | use only straight lines, if false we use also diagonal lines |
| aMarkedPts | java.util.List<com.aspose.ms.System.Drawing.Point> | List of all marked points |
| aMaxMarkedPoints | int | Maximum number of marked points |
Returns: int - Count of marked points
internalWaveStep(SByteBitmap aArr, List<System.Drawing.Point> aOldWave, byte aIter, boolean aStraight, List<System.Drawing.Point> aMarkedPts, int aMaxMarkedPoints)
public static int internalWaveStep(SByteBitmap aArr, List<System.Drawing.Point> aOldWave, byte aIter, boolean aStraight, List<System.Drawing.Point> aMarkedPts, int aMaxMarkedPoints)
Wave algoritm function
Parameters:
| Parameter | Type | Description |
|---|---|---|
| aArr | SByteBitmap | marked matrix with 1, 0 and positive values |
| aOldWave | java.util.List<com.aspose.ms.System.Drawing.Point> | Old wave |
| aIter | byte | Iteration number |
| aStraight | boolean | use only staight lines, if false we use also diagonal lines |
| aMarkedPts | java.util.List<com.aspose.ms.System.Drawing.Point> | List of all marked points |
| aMaxMarkedPoints | int | Maximum number of marked points |
Returns: int - Count of marked points
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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 |