com.esri.arcgis.geometry
Interface IGeometryEnvironment

All Superinterfaces:
Serializable
All Known Subinterfaces:
IGeometryEnvironment2, IGeometryEnvironment3, IGeometryEnvironment4
All Known Implementing Classes:
GeometryEnvironment

public interface IGeometryEnvironment
extends Serializable

Provides access to members that control global geometry variables.

Superseded By

IGeometryEnvironment4

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 double getAutoDensifyTolerance()
          The maximum distance by which on-the-fly deviation-based densification may differ from the original.
 int getNoDiceLimit()
          Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.
 void setAutoDensifyTolerance(double tolerance)
          The maximum distance by which on-the-fly deviation-based densification may differ from the original.
 void setNoDiceLimit(int cMaxPoints)
          Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.
 

Method Detail

setNoDiceLimit

void setNoDiceLimit(int cMaxPoints)
                    throws IOException,
                           AutomationException
Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.

Remarks



Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
cMaxPoints - The cMaxPoints (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoDiceLimit

int getNoDiceLimit()
                   throws IOException,
                          AutomationException
Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.

Remarks


NoDiceLimit
controls how many vertices must be in the polygon when exporting the geometry to a format that can be directly used by the Win32 drawing API. By default, the limit is 20,000 vertices.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The cMaxPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAutoDensifyTolerance

void setAutoDensifyTolerance(double tolerance)
                             throws IOException,
                                    AutomationException
The maximum distance by which on-the-fly deviation-based densification may differ from the original. If the value is less than or equal to zero, the system will try to pick a reasonable tolerance at the time of densification.

Description

The AutoDensifyTolerance value represents the maximum length that densified line segments should have. The value is used to densify straight lines only. To set an automatic densification tolerance value for curves, use IGeometryEnvironment2::DeviationAutoDensifyTolerance.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
tolerance - The tolerance (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAutoDensifyTolerance

double getAutoDensifyTolerance()
                               throws IOException,
                                      AutomationException
The maximum distance by which on-the-fly deviation-based densification may differ from the original. If the value is less than or equal to zero, the system will try to pick a reasonable tolerance at the time of densification.

Description

The AutoDensifyTolerance value represents the maximum length that densified line segments should have. The value is used to densify straight line segments only. To set an automatic densification tolerance value for curves, use IGeometryEnvironment2::DeviationAutoDensifyTolerance.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The tolerance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.