Click or drag to resize

CartographicZoneConstraint.SetZone Method

Set the latitude and longitude boundaries for an inclusion zone. This zone will only allow access inside its boundaries.

Allowed latitude Bounds: -HalfPi to HalfPi

Allowed longitude Bounds: -PI to PI

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public void SetZone(
	double minimumLatitude,
	double maximumLatitude,
	double minimumLongitude,
	double maximumLongitude,
	bool isInclusion
)

Parameters

minimumLatitude
Type: System.Double
Southernmost planetodetic latitude boundary greater than -HalfPi.
maximumLatitude
Type: System.Double
Northernmost planetodetic latitude boundary less than HalfPi.
minimumLongitude
Type: System.Double
Westernmost longitude boundary greater than -PI.
maximumLongitude
Type: System.Double
Easternmost longitude boundary less than PI.
isInclusion
Type: System.Boolean
If true, access is only allowed within this zone. Otherwise, access is not allowed within this zone.
Remarks
The latitude and longitude bounds are validated when the user calls GetEvaluator(IServiceProvider, EvaluatorGroup)
See Also