All Packages Class Hierarchy This Package Previous Next Index
Class com.las.ogdi.OGDIMatrixLine
java.lang.Object
|
+----com.las.ogdi.OGDIFeature
|
+----com.las.ogdi.OGDIMatrixLine
- public class OGDIMatrixLine
- extends OGDIFeature
The MatrixLine class defines objects each composed of an array of categories
representing one line of points at regularly identified intervals.
- Version:
- 1.0
- Author:
- Las Inc.
-
OGDIMatrixLine(int[])
- Creates a MatrixLine with an array of category values.
-
OGDIMatrixLine(int[], OGDIFeatureAttributes)
- Creates a MatrixLine with an array of category values and object information.
-
getColors()
- Gets one line of a matrix data source.
-
toString()
- Gets the complete Matrixline description.
OGDIMatrixLine
public OGDIMatrixLine(int matrix[])
- Creates a MatrixLine with an array of category values.
- Parameters:
- matrix - the matrix line values
- Returns:
- no return
- Throws: IllegalArgumentException
- if matrix has less than one value
OGDIMatrixLine
public OGDIMatrixLine(int matrix[],
OGDIFeatureAttributes info)
- Creates a MatrixLine with an array of category values and object information.
- Parameters:
- matrix - the matrix line values
- info - the object information
- Returns:
- no return
- Throws: IllegalArgumentException
- if matrix has less than one value
getColors
public int[] getColors()
- Gets one line of a matrix data source.
- Parameters:
- no - parameter
- Returns:
- the indexes of colors
- Throws: no
- exception
- See Also:
- getRasterInfo
toString
public String toString()
- Gets the complete Matrixline description.
- Parameters:
- no - parameter
- Returns:
- the matrix line array of coordinates (and optionally its attributes) as a string
- Throws: no
- exception
- Overrides:
- toString in class OGDIFeature
- See Also:
- getRasterInfo, toString
All Packages Class Hierarchy This Package Previous Next Index