|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConstructPoint2
Provides access to additional point construction methods.
Method Summary | |
---|---|
void |
constructAverage(IPointCollection points,
int attributeType)
Constructs the geometric average of the input point collection. |
Methods inherited from interface com.esri.arcgis.geometry.IConstructPoint |
---|
constructAlong, constructAngleBisector, constructAngleDistance, constructAngleIntersection, constructDeflection, constructDeflectionIntersection, constructOffset, constructParallel, constructPerpendicular, constructThreePointResection |
Method Detail |
---|
void constructAverage(IPointCollection points, int attributeType) throws IOException, AutomationException
If attributeType is esriAttributeNone then the average point location is computed; otherwise the attribute specified by attributeType serves as a weight. Points whose weight attribute is NaN are ignored (a weight of 0 has a similar affect). The resulting point will have the (weighted) average for all their attributes. However this does not apply to ID's; no average is calculated for them in any case; but thay can be used as weight.
Only the following attributeType values are permitted: esriAttributeNone, esriAttributeZ, esriAttributeM, esriAttributeID.
points
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)attributeType
- A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
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 |