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.3.420.0 (24.3.420.0)
Syntax public void SetZone(
double minimumLatitude,
double maximumLatitude,
double minimumLongitude,
double maximumLongitude,
bool isInclusion
)
Public Sub SetZone (
minimumLatitude As Double,
maximumLatitude As Double,
minimumLongitude As Double,
maximumLongitude As Double,
isInclusion As Boolean
)
public:
void SetZone(
double minimumLatitude,
double maximumLatitude,
double minimumLongitude,
double maximumLongitude,
bool isInclusion
)
member SetZone :
minimumLatitude : float *
maximumLatitude : float *
minimumLongitude : float *
maximumLongitude : float *
isInclusion : bool -> unit
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 See Also