Click or drag to resize

CartographicZoneConstraint Constructor (IServiceProvider, CentralBody, Double, Double, Double, Double, Boolean)

Initializes a new instance with the specified constrained object, central body, and zone definition.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public CartographicZoneConstraint(
	IServiceProvider constrainedObject,
	CentralBody centralBody,
	double minimumLatitude,
	double maximumLatitude,
	double minimumLongitude,
	double maximumLongitude,
	bool isInclusion
)

Parameters

constrainedObject
Type: SystemIServiceProvider
The object to which this constraint is applied.
centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the cartographic zone is computed.
minimumLatitude
Type: SystemDouble
The south-most planetodetic latitude boundary, in radians.
maximumLatitude
Type: SystemDouble
The north-most planetodetic latitude boundary, in radians.
minimumLongitude
Type: SystemDouble
The west-most longitude boundary, in radians.
maximumLongitude
Type: SystemDouble
The east-most longitude boundary, in radians.
isInclusion
Type: SystemBoolean
If , access is only satisfied within this zone. Otherwise, access is only satisfied outside this zone.
Remarks

This constraint is ready for use with both AccessComputation and AccessQuery after being constructed using this constructor.

See Also