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.
-
OGDIImageLine(int[])
- Creates an ImageLine with an array of color values.
-
OGDIImageLine(int[], OGDIFeatureAttributes)
- Creates an ImageLine with an array of color values and object information.
-
getColors()
- Gets one line of an image data source.
-
toString()
- Gets the complete ImageLine description.
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
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
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
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