Interface IGeometryResultOptions
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to methods that control geometry options.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F0FCF561-C0DF-4D3C-A562-51063550522D")]
public interface IGeometryResultOptions
Remarks
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 .
Properties
DensifyGeometries
Indicates if MaximumSegmentLength and MaximumDeviation will be honored to densify geometry in the results.
bool DensifyGeometries { get; set; }
Property Value
Remarks
When DensifyGeometries is set to true, MaximumDeviation and MaximumSegmentLength should also be set. For more information please see Densify.
GeneralizeGeometries
Indicates whether MaximumAllowableOffset will be honored to generalize the geometry in the results.
bool GeneralizeGeometries { get; set; }
Property Value
Remarks
When GeneralizeGeometries is set to true, the MaximumAllowableOffset property should also be set. For more information please see Generalize.
MaximumAllowableOffset
The maximum allowable offset.
double MaximumAllowableOffset { get; set; }
Property Value
Remarks
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.
MaximumDeviation
The maximum deviation.
double MaximumDeviation { get; set; }
Property Value
Remarks
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.
MaximumSegmentLength
The maximum segment length.
double MaximumSegmentLength { get; set; }
Property Value
Remarks
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.