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
)
Public Sub New (
centralBody As CentralBody,
minimumLatitude As Double,
maximumLatitude As Double,
minimumLongitude As Double,
maximumLongitude As Double,
isInclusion As Boolean
)
public:
CartographicZoneConstraint(
CentralBody^ centralBody,
double minimumLatitude,
double maximumLatitude,
double minimumLongitude,
double maximumLongitude,
bool isInclusion
)
new :
centralBody : CentralBody *
minimumLatitude : float *
maximumLatitude : float *
minimumLongitude : float *
maximumLongitude : float *
isInclusion : bool -> CartographicZoneConstraint
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