public interface ISegmentCollection
extends java.io.Serializable
Description: 'Provides access to members that manipulate the segments of a path, ring, polyline, or polygon.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDb3fe6b20_4fc2_11d1_834e_0000f8775be9 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
addSegment(ISegment inSegment,
java.lang.Object before,
java.lang.Object after)
Adds a reference to the input segment at the end, or before or after a specified index.
|
void |
addSegmentCollection(ISegmentCollection segments)
Adds references to the segments from the specified segment collection.
|
void |
addSegments(int count,
ISegment newSegments)
Adds references to segments.
|
IEnumCurve |
getEnumCurve()
A new curve enumerator for this segment collection.
|
IEnumSegment |
getEnumSegments()
A new enumerator for this segment collection.
|
IEnumSegment |
getIndexedEnumSegments(IGeometry queryGeometry)
A new indexed segment enumerator for this segment collection.
|
ISegment |
getSegment(int i)
A reference to the ith segment.
|
int |
getSegmentCount()
The number of segments.
|
void |
hasNonLinearSegments(boolean[] nonLinearSegments)
Indicates if this segment collection contains segments other than lines.
|
void |
insertSegmentCollection(int index,
ISegmentCollection newSegments)
Inserts references to the segments in the input collectoin.
|
void |
insertSegmentCollectionEx(int index,
int start,
int count,
ISegmentCollection newSegments)
Inserts references to some of the segments from the input collection.
|
void |
insertSegments(int index,
int count,
ISegment newSegments)
Inserts references to the input segments.
|
void |
querySegments(int index,
int count,
ISegment[] segments)
Returns references to some of the input segments.
|
void |
removeSegments(int index,
int count,
boolean closeGap)
Removes references to some segments.
|
void |
replaceSegmentCollection(int index,
int goingAway,
ISegmentCollection newSegments)
Remove and inserts some segments.
|
void |
replaceSegments(int index,
int comingIn,
int goingAway,
ISegment newSegments)
Removes and inserts from segments.
|
void |
segmentsChanged()
Informs the segment collection that any cached values that it may be maintaining (envelope, length, etc.) are invalid.
|
void |
setCircle(IPoint cp,
double circleRadius)
Defines this path, ring, polyline or polygon to contain a single circular arc segment that is closed.
|
void |
setRectangle(IEnvelope inEnvelope)
Defines this path, ring, polyline or polygon to have four line segments in the same positions as the sides of the input envelope.
|
void |
setSegmentCollection(ISegmentCollection newSegments)
Replaces all segments with references to segments from the input collection.
|
void |
setSegments(int count,
ISegment newSegments)
Replaces all segments with references to the input segments.
|
static final int IIDb3fe6b20_4fc2_11d1_834e_0000f8775be9
static final int xxDummy
static final java.lang.String IID
int getSegmentCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.ISegment getSegment(int i) throws java.io.IOException, AutomationException
i
- The i (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addSegment(ISegment inSegment, java.lang.Object before, java.lang.Object after) throws java.io.IOException, AutomationException
inSegment
- A reference to a com.esri.arcgis.geometry.ISegment (in)before
- A Variant (in, optional, pass null if not required)after
- A Variant (in, optional, pass null if not required)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void querySegments(int index, int count, ISegment[] segments) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)segments
- A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addSegments(int count, ISegment newSegments) throws java.io.IOException, AutomationException
count
- The count (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addSegmentCollection(ISegmentCollection segments) throws java.io.IOException, AutomationException
segments
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void insertSegments(int index, int count, ISegment newSegments) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void insertSegmentCollection(int index, ISegmentCollection newSegments) throws java.io.IOException, AutomationException
index
- The index (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void insertSegmentCollectionEx(int index, int start, int count, ISegmentCollection newSegments) throws java.io.IOException, AutomationException
index
- The index (in)start
- The start (in)count
- The count (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceSegments(int index, int comingIn, int goingAway, ISegment newSegments) throws java.io.IOException, AutomationException
index
- The index (in)comingIn
- The comingIn (in)goingAway
- The goingAway (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceSegmentCollection(int index, int goingAway, ISegmentCollection newSegments) throws java.io.IOException, AutomationException
index
- The index (in)goingAway
- The goingAway (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void removeSegments(int index, int count, boolean closeGap) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)closeGap
- The closeGap (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setCircle(IPoint cp, double circleRadius) throws java.io.IOException, AutomationException
cp
- A reference to a com.esri.arcgis.geometry.IPoint (in)circleRadius
- The circleRadius (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setRectangle(IEnvelope inEnvelope) throws java.io.IOException, AutomationException
inEnvelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setSegments(int count, ISegment newSegments) throws java.io.IOException, AutomationException
count
- The count (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setSegmentCollection(ISegmentCollection newSegments) throws java.io.IOException, AutomationException
newSegments
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumSegment getEnumSegments() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumCurve getEnumCurve() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void hasNonLinearSegments(boolean[] nonLinearSegments) throws java.io.IOException, AutomationException
nonLinearSegments
- The nonLinearSegments (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumSegment getIndexedEnumSegments(IGeometry queryGeometry) throws java.io.IOException, AutomationException
queryGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void segmentsChanged() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.