com.esri.arcgisws
Class Segment

java.lang.Object
  extended by com.esri.arcgisws.Geometry
      extended by com.esri.arcgisws.Curve
          extended by com.esri.arcgisws.Segment
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BezierCurve, CircularArc, EllipticArc, Line

public abstract class Segment
extends Curve
implements Serializable

Java class for Segment complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Segment">
   <complexContent>
     <extension base="{http://www.esri.com/schemas/ArcGIS/10.0}Curve">
       <sequence>
         <element name="FromPoint" type="{http://www.esri.com/schemas/ArcGIS/10.0}Point"/>
         <element name="ToPoint" type="{http://www.esri.com/schemas/ArcGIS/10.0}Point"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Segment()
          Segment default constructor.
Segment(Point fromPoint, Point toPoint)
          Deprecated. 
 
Method Summary
 Point getFromPoint()
          Gets the value of the fromPoint property.
 Point getToPoint()
          Gets the value of the toPoint property.
 void setFromPoint(Point value)
          Sets the value of the fromPoint property.
 void setToPoint(Point value)
          Sets the value of the toPoint property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Segment

@Deprecated
public Segment(Point fromPoint,
                          Point toPoint)
Deprecated. 

Segment constructor.


Segment

public Segment()
Segment default constructor.

Method Detail

getFromPoint

public Point getFromPoint()
Gets the value of the fromPoint property.

Returns:
possible object is Point

setFromPoint

public void setFromPoint(Point value)
Sets the value of the fromPoint property.

Parameters:
value - allowed object is Point

getToPoint

public Point getToPoint()
Gets the value of the toPoint property.

Returns:
possible object is Point

setToPoint

public void setToPoint(Point value)
Sets the value of the toPoint property.

Parameters:
value - allowed object is Point