Click or drag to resize

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

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

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 CartographicZoneConstraint(
	CentralBody centralBody,
	double minimumLatitude,
	double maximumLatitude,
	double minimumLongitude,
	double maximumLongitude,
	bool isInclusion
)

Parameters

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 AccessComputation after being constructed using this constructor. However, before evaluating this constraint as part of an AccessQuery, it is necessary to set the ConstrainedObject property.

See Also