com.esri.arcgis.geometry
Interface IMCollection

All Superinterfaces:
Serializable
All Known Subinterfaces:
IMSegmentation, IMSegmentation2, IMSegmentation3
All Known Implementing Classes:
MultiPatch, Multipoint, Polygon, Polyline

public interface IMCollection
extends Serializable

Provides access to members that control operations on M-aware multipoints, polylines, polygons and multipatches.

Remarks

IMCollection supports operations performed on a collection of geometry objects that have M values. For IMCollection operations to be performed, the object must be MAware and have non-NaN Ms.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
IPoint.getM(), IMSegmentation, IMSegmentation2, IMCollection, IMAware

Method Summary
 double getMMax()
          The maximum M value.
 double getMMin()
          The minimum M value.
 void multiplyMs(double factor)
          Multiplies all the M values by a factor.
 void offsetMs(double offset)
          Offsets all the M values by an offset value.
 

Method Detail

getMMin

double getMMin()
               throws IOException,
                      AutomationException
The minimum M value.

Description

Returns the minimum M attribute contained within the MAware object collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The outMMin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMMax

double getMMax()
               throws IOException,
                      AutomationException
The maximum M value.

Description

Returns the maximum M attribute contained within the MAware object collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The outMMax
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

multiplyMs

void multiplyMs(double factor)
                throws IOException,
                       AutomationException
Multiplies all the M values by a factor.

Remarks

The MultiplyMs method will update all the measure attributes for a PolyLine, and should only be used if every measure has been set (i.e. there are no NaNs). Check the IMAware::MSimple property or use the IMSegmentation methods to fill in any missing measure values. MultiplyMs is analogous to scaling spatial coordinates.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

offsetMs

void offsetMs(double offset)
              throws IOException,
                     AutomationException
Offsets all the M values by an offset value.

Remarks

The OffsetMs method will update all the measure attributes for a PolyLine, and should only be used if every measure has been set (i.e. there are no NaNs). Check the IMAware::MSimple property or use the IMSegmentation methods to fill in any missing measure values. OffsetMs is analgous to moving spatial coordinates.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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