All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sdoOracle.sdoLine

java.lang.Object
   |
   +----sdoOracle.sdoGeometry
           |
           +----sdoOracle.sdoLine

public class sdoLine
extends sdoGeometry
Class sdoLine defines a SDO line primitive. SDO supports the three basic primitives: point, line and polygon. Refer to SDO manual for additional information.

See Also:
sdoGeometry, LineString, Box

Constructor Index

 o sdoLine()
Constructs a new sdoLine object.

Method Index

 o AddPoint(double, double)
Adds a new vertex to this line.
 o BoundingBox()
Returns the Box object (mbr) hat encloses the points.
 o Clear()
Clears the line (erases points).
 o First()
Returns the first point (WPoint object).
 o GetItem(int)
Returns the WPoint object related with input index.
 o LowerLeftX()
Returns the x lower left coordinate of the mbr that encloses the points.
 o LowerLeftY()
Returns the y lower left coordinate of the mbr that encloses the points.
 o Next()
Returns the next point (WPoint object).
 o Size()
Returns the number of points.
 o UpperRightX()
Returns the x upper right coordinate of the mbr that encloses the points.
 o UpperRightY()
Returns the y upper left coordinate of the mbr that encloses the points.

Constructors

 o sdoLine
 public sdoLine()
Constructs a new sdoLine object.

Methods

 o AddPoint
 public void AddPoint(double x,
                      double y)
Adds a new vertex to this line.

Parameters:
x - spatial coordinate x.
y - spatial coordinate y.
 o LowerLeftX
 public double LowerLeftX()
Returns the x lower left coordinate of the mbr that encloses the points.

Returns:
returns a double value.
 o LowerLeftY
 public double LowerLeftY()
Returns the y lower left coordinate of the mbr that encloses the points.

Returns:
returns a double value.
 o UpperRightX
 public double UpperRightX()
Returns the x upper right coordinate of the mbr that encloses the points.

Returns:
returns a double value.
 o UpperRightY
 public double UpperRightY()
Returns the y upper left coordinate of the mbr that encloses the points.

Returns:
returns a double value.
 o BoundingBox
 public Box BoundingBox()
Returns the Box object (mbr) hat encloses the points.

Returns:
returns a Box object.
 o Size
 public int Size()
Returns the number of points.

Returns:
returns an integer value.
 o First
 public WPoint First()
Returns the first point (WPoint object).

Returns:
returns a WPoint object or null.
 o Next
 public WPoint Next()
Returns the next point (WPoint object).

Returns:
returns a WPoint object or null.
 o Clear
 public void Clear()
Clears the line (erases points).

 o GetItem
 public WPoint GetItem(int index)
Returns the WPoint object related with input index.

Parameters:
index - position in the list (starts at 0).
Returns:
returns a Box object or null.

All Packages  Class Hierarchy  This Package  Previous  Next  Index