|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeometryBridge2
Provides access to a set of generic methods that can be used in all languages supported.
You can use the IGeometryBridge methods with any supported development languages: Java, C#, VB.Net, VB 6.0, C++, etc. The methods on the regular interfaces (IGeometryCollection, ISegmentCollection, IPointCollection, etc) are using C style arrays, which are not supported by some languages. The IGeometryBridge interface solves that problem allowing you to pass safe arrays instead.
Method Summary | |
---|---|
void |
addWKSPoints(IPointCollection4 pPointCollection,
_WKSPoint[] pointStructures)
Adds vertices to this Path, Ring, Polyline, or Polygon, or adds new points to this Multipoint, Triangles, TriangleFan, or TriangleStrip. |
void |
insertWKSPoints(IPointCollection4 pPointCollection,
int index,
_WKSPoint[] pointStructures)
Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch. |
void |
queryWKSPoints(IPointCollection4 pPointCollection,
int index,
_WKSPoint[][] pointStructures)
Copies vertices'/points' coordinates to the array of point structures. |
void |
setWKSPoints(IPointCollection4 pPointCollection,
_WKSPoint[] pointStructures)
Replaces all vertices of this Path, Ring, Polyline, or Polygon with new ones, or replaces all points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with new ones. |
IEnumSplitPoint |
splitAtDistances(IPolycurve2 polyCurve,
double[] distances,
boolean asRatios,
boolean createParts)
Introduces new vertices into this polyline at specified distances from the beginning of the polyline. |
void |
splitDivideLength(ISegment pSegment,
double offset,
double length,
boolean asRatio,
int[] numSplitSegments,
ISegment[][] splitSegments)
Divide segment into smaller segments of the specified length. |
Methods inherited from interface com.esri.arcgis.geometry.IGeometryBridge |
---|
addGeometries, addPoints, addSegments, addWKSPointZs, constructBuffers, densify, getPoints, insertGeometries, insertPoints, insertSegments, insertWKSPointZs, queryBeginningRings, queryFollowingRings, queryGeometries, queryPoints, querySegments, queryWKSPointZs, replacePoints, replaceSegments, setGeometries, setPoints, setSegments, setWKSPointZs |
Method Detail |
---|
void addWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures) throws IOException, AutomationException
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)pointStructures
- A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures) throws IOException, AutomationException
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)pointStructures
- A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[][] pointStructures) throws IOException, AutomationException
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index
- The index (in)pointStructures
- A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insertWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[] pointStructures) throws IOException, AutomationException
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index
- The index (in)pointStructures
- A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumSplitPoint splitAtDistances(IPolycurve2 polyCurve, double[] distances, boolean asRatios, boolean createParts) throws IOException, AutomationException
polyCurve
- A reference to a com.esri.arcgis.geometry.IPolycurve2 (in)distances
- The distances (in)asRatios
- The asRatios (in)createParts
- The createParts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void splitDivideLength(ISegment pSegment, double offset, double length, boolean asRatio, int[] numSplitSegments, ISegment[][] splitSegments) throws IOException, AutomationException
pSegment
- A reference to a com.esri.arcgis.geometry.ISegment (in)offset
- The offset (in)length
- The length (in)asRatio
- The asRatio (in)numSplitSegments
- The numSplitSegments (out: use single element array)splitSegments
- A reference to a com.esri.arcgis.geometry.ISegment array (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |