|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeometryResultOptions
Provides access to methods that control geometry options.
IGeometryResultOptions has properties used to modify output geometry. Modification can include densification (DensifyGeometries) or generalization (GeneralizeGeometries).
Values for MaximumSegmentLength, MaximumDeviation or MaximumAllowableOffset should be in the units of the map's spatial reference unless the returned geometry is asked to be in another spatial reference (in the case of QueryFeatureData or QueryFeatureData2). For example, if the units of the spatial reference of the feature class being queried is in decimal degrees and the spatial reference units of the map is in meters, the values specified for MaximumSegmentLength, MaximumDeviation or MaximumAllowableOffset must be in meters. In case IQueryFilter.OutputSpatialReference is set to a spatial reference unit in feet, then those values should be in feet.
When GeneralizeGeometries is set to true, the MaximumAllowableOffset property should also be set. When DensifyGeometries is set to true, MaximumDeviation and MaximumSegmentLength should also be set. For more information please see Densify and Generalize .
Method Summary | |
---|---|
double |
getMaximumAllowableOffset()
The maximum allowable offset. |
double |
getMaximumDeviation()
The maximum deviation. |
double |
getMaximumSegmentLength()
The maximum segment length. |
boolean |
isDensifyGeometries()
Indicates if MaximumSegmentLength and MaximumDeviation will be honored to densify geometry in the results. |
boolean |
isGeneralizeGeometries()
Indicates whether MaximumAllowableOffset will be honored to generalize the geometry in the results. |
void |
setDensifyGeometries(boolean doDensify)
Indicates if MaximumSegmentLength and MaximumDeviation will be honored to densify geometry in the results. |
void |
setGeneralizeGeometries(boolean doGeneralize)
Indicates whether MaximumAllowableOffset will be honored to generalize the geometry in the results. |
void |
setMaximumAllowableOffset(double maxOffset)
The maximum allowable offset. |
void |
setMaximumDeviation(double maxDev)
The maximum deviation. |
void |
setMaximumSegmentLength(double maxSegLen)
The maximum segment length. |
Method Detail |
---|
boolean isDensifyGeometries() throws IOException, AutomationException
When DensifyGeometries is set to true, MaximumDeviation and MaximumSegmentLength should also be set. For more information please see Densify.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDensifyGeometries(boolean doDensify) throws IOException, AutomationException
doDensify
- The doDensify (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximumSegmentLength() throws IOException, AutomationException
Default value for MaximumSegmentLength is -1. Values for MaximumSegmentLength must be in the units of the map's spatial reference. For example, if the units of the spatial reference of the feature class being queried is in decimal degrees and the spatial reference units of the map is in meters, the values specified for MaximumSegmentLength must be in meters.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaximumSegmentLength(double maxSegLen) throws IOException, AutomationException
maxSegLen
- The maxSegLen (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximumDeviation() throws IOException, AutomationException
Default value for MaximumDeviation is 0. Values for MaximumDeviation must be in the units of the map's spatial reference. For example, if the units of the spatial reference of the feature class being queried is in decimal degrees and the spatial reference units of the map is in meters, the values specified for MaximumDeviation must be in meters.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaximumDeviation(double maxDev) throws IOException, AutomationException
maxDev
- The maxDev (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isGeneralizeGeometries() throws IOException, AutomationException
When GeneralizeGeometries is set to true, the MaximumAllowableOffset property should also be set. For more information please see Generalize.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeneralizeGeometries(boolean doGeneralize) throws IOException, AutomationException
doGeneralize
- The doGeneralize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximumAllowableOffset() throws IOException, AutomationException
Default value for MaximumAllowableOffset is 0. Values for MaximumAllowableOffset must be in the units of the map's spatial reference. For example, if the units of the spatial reference of the feature class being queried is in decimal degrees and the spatial reference units of the map is in meters, the values specified for MaximumAllowableOffset must be in meters.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaximumAllowableOffset(double maxOffset) throws IOException, AutomationException
maxOffset
- The maxOffset (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 |