com.esri.arcgis.geometry
Interface ISegmentM

All Superinterfaces:
Serializable
All Known Implementing Classes:
BezierCurve, CircularArc, EllipticArc, Line

public interface ISegmentM
extends Serializable

Provides access to members that allow simple manipulations of Ms at the segment level.

Description

Allows the M attributes of the Segment endpoints to be set and returned. Segment attribute awareness is dependent upon the awareness of the higher level collection to which the segment belongs. These methods can be used regardless of the segment's awareness.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void getMs(double[] fromM, double[] toM)
          Get the Ms on the segment's endpoints.
 void setMs(double fromM, double toM)
          Set the Ms on the segment's endpoints.
 

Method Detail

getMs

void getMs(double[] fromM,
           double[] toM)
           throws IOException,
                  AutomationException
Get the Ms on the segment's endpoints.

Description

Returns the M attributes held by the From and To point of the segment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fromM - The fromM (out: use single element array)
toM - The toM (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMs

void setMs(double fromM,
           double toM)
           throws IOException,
                  AutomationException
Set the Ms on the segment's endpoints.

Description

Sets the M attributes for the From and To points of the segment. These attributes can be set regardless of the attribute awareness of the segment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fromM - The fromM (in)
toM - The toM (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.