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.

Constructor Index

 o OGDIMatrixLine(int[])
Creates a MatrixLine with an array of category values.
 o OGDIMatrixLine(int[], OGDIFeatureAttributes)
Creates a MatrixLine with an array of category values and object information.

Method Index

 o getColors()
Gets one line of a matrix data source.
 o toString()
Gets the complete Matrixline description.

Constructors

 o 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
 o 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

Methods

 o 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
 o 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