|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGeometryBridge
Provides access to a set of generic methods that can be used in all languages supported.
The IGeometryBridge methods can be used 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 is there to solve that problem allowing to pass safe arrays instead.
| Method Summary | |
|---|---|
void |
addGeometries(IGeometryCollection pGeometryCollection,
IGeometry[] newGeometries)
Adds references to the specified geometries. |
void |
addPoints(IPointCollection4 pPointCollection,
IPoint[] newPoints)
Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, Triangles, TriangleFan, or TriangleStrip. |
void |
addSegments(ISegmentCollection pSegmentCollection,
ISegment[] newSegments)
Adds references to segments. |
void |
addWKSPointZs(IPointCollection4 pPointCollection,
_WKSPointZ[] pointStructures)
Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch. |
IEnumGeometry |
constructBuffers(ITopologicalOperator2 pTopologicalOperator,
double[] distances)
Constructs a set of buffers at various distances. |
void |
densify(ISegment pSegment,
double maxDeviation,
int[] pcOutSegments,
ILine[][] segments)
Densify segment into the specified number of smaller segments. |
void |
getPoints(IPointCollection4 pPointCollection,
int index,
IPoint[][] points)
Populates an array with references to points in the Multipoint. |
void |
insertGeometries(IGeometryCollection pGeometryCollection,
int index,
IGeometry[] newGeometries)
Inserts at the specified index references to some number of geometries in the input array. |
void |
insertPoints(IPointCollection4 pPointCollection,
int index,
IPoint[] newPoints)
Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, Triangles, TriangleFan, or TriangleStrip. |
void |
insertSegments(ISegmentCollection pSegmentCollection,
int index,
ISegment[] newSegments)
Inserts references to the input segments. |
void |
insertWKSPointZs(IPointCollection4 pPointCollection,
int index,
_WKSPointZ[] newPoints)
Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch. |
void |
queryBeginningRings(IMultiPatch pMultiPatch,
int ringTypesDesired,
IRing[][] beginningRings)
Populates an array with references to all beginning rings of the specified types. |
void |
queryFollowingRings(IMultiPatch pMultiPatch,
IRing beginningRing,
IRing[][] followingRings)
Populates an array with references to following rings that are in the ring group that starts with the specified beginning ring. |
void |
queryGeometries(IGeometryCollection pGeometryCollection,
int index,
IGeometry[][] geometries)
Populates the array with references to a sub-sequence of geometries. |
void |
queryPoints(IPointCollection4 pPointCollection,
int index,
IPoint[][] points)
Copies some points to an existing array of points. |
void |
querySegments(ISegmentCollection pSegmentCollection,
int index,
ISegment[][] segments)
Returns references to some of the input segments. |
void |
queryWKSPointZs(IPointCollection4 pPointCollection,
int index,
_WKSPointZ[][] pointStructures)
Copies vertices/points coordinates to the array of point structures. |
void |
replacePoints(IPointCollection4 pPointCollection,
int index,
int goingAway,
IPoint[] newPoints)
Replaces vertices/points within a PointCollection. |
void |
replaceSegments(ISegmentCollection pSegmentCollection,
int index,
int goingAway,
ISegment[] newSegments)
Removes and inserts from segments. |
void |
setGeometries(IGeometryCollection pGeometryCollection,
IGeometry[] newGeometries)
Replaces all geometries in the collection with the specified number of references to those in the input array. |
void |
setPoints(IPointCollection4 pPointCollection,
IPoint[] newPoints)
Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with references to the input points. |
void |
setSegments(ISegmentCollection pSegmentCollection,
ISegment[] newSegments)
Replaces all segments with references to the input segments. |
void |
setWKSPointZs(IPointCollection4 pPointCollection,
_WKSPointZ[] pointStructures)
Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch with new ones. |
| Method Detail |
|---|
void queryGeometries(IGeometryCollection pGeometryCollection,
int index,
IGeometry[][] geometries)
throws IOException,
AutomationException
All development languages compatible version of IGeometryCollection::QueryGeometries.
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)index - The index (in)geometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addGeometries(IGeometryCollection pGeometryCollection,
IGeometry[] newGeometries)
throws IOException,
AutomationException
All development languages compatible version of IGeometryCollection::AddGeometries .
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertGeometries(IGeometryCollection pGeometryCollection,
int index,
IGeometry[] newGeometries)
throws IOException,
AutomationException
All development languages compatible version of IGeometryCollection::InsertGeometries.
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)index - The index (in)newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setGeometries(IGeometryCollection pGeometryCollection,
IGeometry[] newGeometries)
throws IOException,
AutomationException
All development languages compatible version of IGeometryCollection::SetGeometries .
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryPoints(IPointCollection4 pPointCollection,
int index,
IPoint[][] points)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::QueryPoints.
When calling this method no count parameter is needed. The length of the array parameter will be used in place of the explicit number given in the IPointCollection::QueryPoints call. This also requires that the array parameter given to IGeometryBridge::QueryPoints can not be longer than the length of the PointCollection minus the index parameter.
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)points - A reference to a com.esri.arcgis.geometry.IPoint array (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertPoints(IPointCollection4 pPointCollection,
int index,
IPoint[] newPoints)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::InsertPoints .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addPoints(IPointCollection4 pPointCollection,
IPoint[] newPoints)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::AddPoints .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setPoints(IPointCollection4 pPointCollection,
IPoint[] newPoints)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::SetPoints .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getPoints(IPointCollection4 pPointCollection,
int index,
IPoint[][] points)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::GetPoints .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)points - A reference to a com.esri.arcgis.geometry.IPoint array (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void replacePoints(IPointCollection4 pPointCollection,
int index,
int goingAway,
IPoint[] newPoints)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection::ReplacePoints .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)goingAway - The goingAway (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addWKSPointZs(IPointCollection4 pPointCollection,
_WKSPointZ[] pointStructures)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection4::AddWKSPointsZs .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setWKSPointZs(IPointCollection4 pPointCollection,
_WKSPointZ[] pointStructures)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection4::SetWKSPointsZs .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryWKSPointZs(IPointCollection4 pPointCollection,
int index,
_WKSPointZ[][] pointStructures)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection4::QueryWKSPointsZs .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertWKSPointZs(IPointCollection4 pPointCollection,
int index,
_WKSPointZ[] newPoints)
throws IOException,
AutomationException
All development languages compatible version of IPointCollection4::InsertWKSPointsZs .
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)index - The index (in)newPoints - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void querySegments(ISegmentCollection pSegmentCollection,
int index,
ISegment[][] segments)
throws IOException,
AutomationException
All development languages compatible version of ISegmentCollection::QuerySegments .
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)index - The index (in)segments - 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.
void addSegments(ISegmentCollection pSegmentCollection,
ISegment[] newSegments)
throws IOException,
AutomationException
All development languages compatible version of ISegmentCollection::AddSegments .
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertSegments(ISegmentCollection pSegmentCollection,
int index,
ISegment[] newSegments)
throws IOException,
AutomationException
All development languages compatible version of ISegmentCollection::InsertSegments .
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)index - The index (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void replaceSegments(ISegmentCollection pSegmentCollection,
int index,
int goingAway,
ISegment[] newSegments)
throws IOException,
AutomationException
All development languages compatible version of ISegmentCollection::ReplaceSegments .
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)index - The index (in)goingAway - The goingAway (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setSegments(ISegmentCollection pSegmentCollection,
ISegment[] newSegments)
throws IOException,
AutomationException
All development languages compatible version of ISegmentCollection::SetSegments .
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void densify(ISegment pSegment,
double maxDeviation,
int[] pcOutSegments,
ILine[][] segments)
throws IOException,
AutomationException
All development languages compatible version of ISegment::Densify .
pSegment - A reference to a com.esri.arcgis.geometry.ISegment (in)maxDeviation - The maxDeviation (in)pcOutSegments - The pcOutSegments (in/out: use single element array)segments - A reference to a com.esri.arcgis.geometry.ILine array (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumGeometry constructBuffers(ITopologicalOperator2 pTopologicalOperator,
double[] distances)
throws IOException,
AutomationException
All development languages compatible version of ITopologicalOperator2::ConstructBuffers .
pTopologicalOperator - A reference to a com.esri.arcgis.geometry.ITopologicalOperator2 (in)distances - The distances (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryBeginningRings(IMultiPatch pMultiPatch,
int ringTypesDesired,
IRing[][] beginningRings)
throws IOException,
AutomationException
All development languages compatible version of IMultipatch::QueryBeginningRings.
pMultiPatch - A reference to a com.esri.arcgis.geometry.IMultiPatch (in)ringTypesDesired - The ringTypesDesired (in)beginningRings - A reference to a com.esri.arcgis.geometry.IRing array (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryFollowingRings(IMultiPatch pMultiPatch,
IRing beginningRing,
IRing[][] followingRings)
throws IOException,
AutomationException
All development languages compatible version of IMultipatch::QueryFollowingRings .
pMultiPatch - A reference to a com.esri.arcgis.geometry.IMultiPatch (in)beginningRing - A reference to a com.esri.arcgis.geometry.IRing (in)followingRings - A reference to a com.esri.arcgis.geometry.IRing 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 | ||||||||