All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.las.ogdi.OGDIImageLine

java.lang.Object
   |
   +----com.las.ogdi.OGDIFeature
           |
           +----com.las.ogdi.OGDIImageLine

public class OGDIImageLine
extends OGDIFeature
The ImageLine class defines objects each composed of an array of values representing one line of points at regularly identified intervals.

Version:
1.1
Author:
Las Inc.

Constructor Index

 o OGDIImageLine(int[])
Creates an ImageLine with an array of color values.
 o OGDIImageLine(int[], OGDIFeatureAttributes)
Creates an ImageLine with an array of color values and object information.

Method Index

 o getColors()
Gets one line of an image data source.
 o toString()
Gets the complete ImageLine description.

Constructors

 o OGDIImageLine
 public OGDIImageLine(int matrix[])
Creates an ImageLine with an array of color values.

Parameters:
matrix - the image line values
Returns:
no return
Throws: IllegalArgumentException
if matrix has less than one value
 o OGDIImageLine
 public OGDIImageLine(int matrix[],
                      OGDIFeatureAttributes info)
Creates an ImageLine with an array of color 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 an image data source.

Parameters:
no - parameter
Returns:
the indexes of colors
Throws: no
exception
See Also:
getRasterInfo
 o toString
 public String toString()
Gets the complete ImageLine description.

Parameters:
no - parameter
Returns:
the image 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