SquareMeshNet
Contents
[
Hide
]
Inheritance: java.lang.Object
public class SquareMeshNet
Optimizing square mesh net
T : Type
Constructors
| Constructor | Description |
|---|---|
| SquareMeshNet(int netWidth, int netHeight, int cellSize) | Initializes a new instance of SquareMeshNet class. |
Fields
| Field | Description |
|---|---|
| cells | cells |
| height | Net height |
| width | Net width |
Methods
| Method | Description |
|---|---|
| buildNet(List |
Build the net by list of IPoints |
| equals(Object arg0) | |
| getClass() | |
| getItem(System.Drawing.Point point) | Gets a value of a cell |
| getItem(int i, int j) | Gets a value of a cell |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setItem(System.Drawing.Point point, List |
Sets a value of a cell |
| setItem(int i, int j, List |
Sets a value of a cell |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
SquareMeshNet(int netWidth, int netHeight, int cellSize)
public SquareMeshNet(int netWidth, int netHeight, int cellSize)
Initializes a new instance of SquareMeshNet class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| netWidth | int | A width |
| netHeight | int | A height |
| cellSize | int | Cell size |
cells
public List<List<Spot>> cells
cells
height
public int height
Net height
width
public int width
Net width
buildNet(List iPoints)
public void buildNet(List<Spot> iPoints)
Build the net by list of IPoints
Parameters:
| Parameter | Type | Description |
|---|---|---|
| iPoints | java.util.List<com.aspose.barcode.common.types.Spot> | A list of IPoints |
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>
getItem(System.Drawing.Point point)
public List<Spot> getItem(System.Drawing.Point point)
Gets a value of a cell
Parameters:
| Parameter | Type | Description |
|---|---|---|
| point | com.aspose.ms.System.Drawing.Point | Coordinate of a cell |
Returns: List - Cell value
getItem(int i, int j)
public List<Spot> getItem(int i, int j)
Gets a value of a cell
Parameters:
| Parameter | Type | Description |
|---|---|---|
| i | int | X-coordinate of a cell |
| j | int | Y-coordinate of a cell |
Returns: List - Cell value
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setItem(System.Drawing.Point point, List value)
public void setItem(System.Drawing.Point point, List<Spot> value)
Sets a value of a cell
Parameters:
| Parameter | Type | Description |
|---|---|---|
| point | com.aspose.ms.System.Drawing.Point | Coordinate of a cell |
| value | java.util.List<com.aspose.barcode.common.types.Spot> |
setItem(int i, int j, List value)
public void setItem(int i, int j, List<Spot> value)
Sets a value of a cell
Parameters:
| Parameter | Type | Description |
|---|---|---|
| i | int | X-coordinate of a cell |
| j | int | Y-coordinate of a cell |
| value | java.util.List<com.aspose.barcode.common.types.Spot> |
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 |