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: 25.1.421.0 (25.1.421.0)
Syntax
public CartographicZoneConstraint(
	IServiceProvider constrainedObject,
	CentralBody centralBody,
	double minimumLatitude,
	double maximumLatitude,
	double minimumLongitude,
	double maximumLongitude,
	bool isInclusion
)

Parameters

constrainedObject
Type: System.IServiceProvider
The object to which this constraint is applied.
centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body relative to which the cartographic zone is computed.
minimumLatitude
Type: System.Double
The south-most planetodetic latitude boundary, in radians.
maximumLatitude
Type: System.Double
The north-most planetodetic latitude boundary, in radians.
minimumLongitude
Type: System.Double
The west-most longitude boundary, in radians.
maximumLongitude
Type: System.Double
The east-most longitude boundary, in radians.
isInclusion
Type: System.Boolean
If true, 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