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
-
sdoLine()
- Constructs a new sdoLine object.
-
AddPoint(double, double)
- Adds a new vertex to this line.
-
BoundingBox()
- Returns the Box object (mbr) hat encloses the points.
-
Clear()
- Clears the line (erases points).
-
First()
- Returns the first point (WPoint object).
-
GetItem(int)
- Returns the WPoint object related with input index.
-
LowerLeftX()
- Returns the x lower left coordinate of the mbr that encloses
the points.
-
LowerLeftY()
- Returns the y lower left coordinate of the mbr that encloses
the points.
-
Next()
- Returns the next point (WPoint object).
-
Size()
- Returns the number of points.
-
UpperRightX()
- Returns the x upper right coordinate of the mbr that encloses
the points.
-
UpperRightY()
- Returns the y upper left coordinate of the mbr that encloses
the points.
sdoLine
public sdoLine()
- Constructs a new sdoLine object.
AddPoint
public void AddPoint(double x,
double y)
- Adds a new vertex to this line.
- Parameters:
- x - spatial coordinate x.
- y - spatial coordinate y.
LowerLeftX
public double LowerLeftX()
- Returns the x lower left coordinate of the mbr that encloses
the points.
- Returns:
- returns a double value.
LowerLeftY
public double LowerLeftY()
- Returns the y lower left coordinate of the mbr that encloses
the points.
- Returns:
- returns a double value.
UpperRightX
public double UpperRightX()
- Returns the x upper right coordinate of the mbr that encloses
the points.
- Returns:
- returns a double value.
UpperRightY
public double UpperRightY()
- Returns the y upper left coordinate of the mbr that encloses
the points.
- Returns:
- returns a double value.
BoundingBox
public Box BoundingBox()
- Returns the Box object (mbr) hat encloses the points.
- Returns:
- returns a Box object.
Size
public int Size()
- Returns the number of points.
- Returns:
- returns an integer value.
First
public WPoint First()
- Returns the first point (WPoint object).
- Returns:
- returns a WPoint object or null.
Next
public WPoint Next()
- Returns the next point (WPoint object).
- Returns:
- returns a WPoint object or null.
Clear
public void Clear()
- Clears the line (erases points).
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