Click or drag to resize

CartographicZoneConstraintSetZone 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: 24.2.419.0 (24.2.419.0)
Syntax
public void SetZone(
	double minimumLatitude,
	double maximumLatitude,
	double minimumLongitude,
	double maximumLongitude,
	bool isInclusion
)

Parameters

minimumLatitude
Type: SystemDouble
Southernmost planetodetic latitude boundary greater than -HalfPi.
maximumLatitude
Type: SystemDouble
Northernmost planetodetic latitude boundary less than HalfPi.
minimumLongitude
Type: SystemDouble
Westernmost longitude boundary greater than -PI.
maximumLongitude
Type: SystemDouble
Easternmost longitude boundary less than PI.
isInclusion
Type: SystemBoolean
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