Packagecom.esri.ags.tasks.supportClasses
Classpublic class TrimExtendParameters
InheritanceTrimExtendParameters Inheritance Object

Since : ArcGIS API for Flex 2.0

Input parameters for the trimExtend() method on the GeometryService.

See also

com.esri.ags.tasks.GeometryService.trimExtend()
Trim / Extend (Operation) in REST documentation


Public Properties
 PropertyDefined By
  extendHow : Number = 0
A flag which is used along with the trimExtend operation.
TrimExtendParameters
  polylines : Array
Array of polylines to be trim/extended.
TrimExtendParameters
  trimExtendPolyline : Polyline
A polyline which is used as a guide for trimming/extending input polylines.
TrimExtendParameters
Public Constants
 ConstantDefined By
  DEFAULT_CURVE_EXTENSION : Number = 0
[static] Extension considers both ends of paths.
TrimExtendParameters
  KEEP_END_ATTRIBUTES : Number = 2
[static] If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point.
TrimExtendParameters
  NO_END_ATTRIBUTES : Number = 4
[static] If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point.
TrimExtendParameters
  NO_EXTEND_AT_FROM : Number = 8
[static] Do not extend the 'from' end of any path.
TrimExtendParameters
  NO_EXTEND_AT_TO : Number = 16
[static] Do not extend the 'to' end of any path.
TrimExtendParameters
  RELOCATE_ENDS : Number = 1
[static] If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.
TrimExtendParameters
Property Detail
extendHowproperty
public var extendHow:Number = 0

A flag which is used along with the trimExtend operation.

The default value is DEFAULT_CURVE_EXTENSION.

polylinesproperty 
public var polylines:Array

Array of polylines to be trim/extended.

See also

trimExtendPolylineproperty 
public var trimExtendPolyline:Polyline

A polyline which is used as a guide for trimming/extending input polylines.

See also

Constant Detail
DEFAULT_CURVE_EXTENSIONConstant
public static const DEFAULT_CURVE_EXTENSION:Number = 0

Extension considers both ends of paths. The old ends remain and new points are added to the extended ends. The new points have attributes that are extrapolated from adjacent existing segments.

KEEP_END_ATTRIBUTESConstant 
public static const KEEP_END_ATTRIBUTES:Number = 2

If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes the same as the current end. Incompatible with esriNoAttributes.

NO_END_ATTRIBUTESConstant 
public static const NO_END_ATTRIBUTES:Number = 4

If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes be empty. Incompatible with esriKeepAttributes.

NO_EXTEND_AT_FROMConstant 
public static const NO_EXTEND_AT_FROM:Number = 8

Do not extend the 'from' end of any path.

NO_EXTEND_AT_TOConstant 
public static const NO_EXTEND_AT_TO:Number = 16

Do not extend the 'to' end of any path.

RELOCATE_ENDSConstant 
public static const RELOCATE_ENDS:Number = 1

If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.