|
WSF
|
Functions | |
| static WsfGeoPoint | convertEcsToGeoPoint (UtEntity &entity, const WsfZone::Point &point) |
| static bool | PointIsInAngularExtents (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, const WsfGeoPoint &point) |
| static double | GetDistanceFromEllipseToPoint (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, const WsfGeoPoint &point) |
| static bool | RecalcCentroid (WsfSimulation *sim_ptr, const WsfZoneDefinition &zone, const WsfGeoPoint &relEcsCentroid, WsfGeoPoint &wcsCentroid) |
| WsfGeoPoint | GetZoneCentroid (WsfSimulation *sim_ptr, WsfZoneDefinition &zone) |
| static bool | FindIntersection (const WsfGeoPoint &beginPoint, const WsfGeoPoint &endPoint, const std::vector< WsfGeoPoint > &points, WsfGeoPoint &intersectionPoint, double &intersectDistance) |
| void | GetLatLonPoints (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, std::vector< WsfGeoPoint > &points) |
| bool | GetDistanceFromPointToZone (WsfSimulation *sim_ptr, double wcsPoint[3], WsfZoneDefinition &zone, double &distance) |
| double | GetDistanceFromPointToZoneCenter (WsfSimulation *sim_ptr, double wcsPoint[3], WsfZoneDefinition &zone) |
| static double | GetHeading (double wcsPosition[3], double wcsVelocity[3]) |
| static double | GetExtraDistanceBasedOnShape (WsfZoneDefinition &zone) |
| bool | isProjectedInsideZonePosVel (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, double wcsPosition[3], double wcsVelocity[3]) |
| static bool | ValueSet (double val) |
| static bool | WithinAltitudeBounds (WsfZoneDefinition &zone, double WcsPosition1[3], double WcsPosition2[3]) |
| bool | isProjectedInsideZone2Points (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, double WcsPosition1[3], double WcsPosition2[3]) |
| bool | isProjectedInsideZonePointHeading (WsfSimulation *sim_ptr, WsfZoneDefinition &zone, double wcsPosition[3], double headingRadians) |
| bool | GetClosestPointInZone (WsfSimulation *sim_ptr, double wcsPoint[3], double wcsZonePoint[3], WsfZoneDefinition &zone) |
|
static |
References WsfZone::Point::mX, and WsfZone::Point::mY.
Referenced by GetLatLonPoints().
|
static |
References WsfGeoPoint::GetLat(), WsfGeoPoint::GetLon(), and WsfGeoPoint::GroundRangeTo().
Referenced by GetClosestPointInZone(), GetDistanceFromPointToZone(), and isProjectedInsideZone2Points().
| bool ZoneUtils::GetClosestPointInZone | ( | WsfSimulation * | sim_ptr, |
| double | wcsPoint[3], | ||
| double | wcsZonePoint[3], | ||
| WsfZoneDefinition & | zone ) |
References WsfZoneDefinition::cCIRCULAR, WsfZoneDefinition::cELLIPTICAL, WsfZoneDefinition::cPOLYGONAL, WsfZoneDefinition::cSPHERICAL, FindIntersection(), GetDistanceFromEllipseToPoint(), IADSC2ScenarioExtension::GetGlobalLogger(), GetLatLonPoints(), WsfGeoPoint::GetLocationWCS(), WsfZoneDefinition::GetRadius(), WsfZoneDefinition::GetReferenceHeading(), WsfSimulation::GetScenario(), WsfZoneDefinition::GetShapeType(), GetZoneCentroid(), WsfGeoPoint::GroundRangeTo(), WsfZoneDefinition::PointIsInside(), and WsfGeoPoint::SetLocationWCS().
Referenced by WsfBMZoneRecord::getClosestPointInZone().
|
static |
References WsfZoneDefinition::cELLIPTICAL, IADSC2ScenarioExtension::GetGlobalLogger(), WsfZoneDefinition::GetLatAxisLength(), WsfGeoPoint::GetLocationWCS(), WsfZoneDefinition::GetLonAxisLength(), WsfZoneDefinition::GetReferenceHeading(), WsfSimulation::GetScenario(), WsfZoneDefinition::GetShapeType(), GetZoneCentroid(), WsfGeoPoint::GroundRangeTo(), PointIsInAngularExtents(), and WsfGeoPoint::TrueBearingTo().
Referenced by GetClosestPointInZone(), and GetDistanceFromPointToZone().
| bool ZoneUtils::GetDistanceFromPointToZone | ( | WsfSimulation * | sim_ptr, |
| double | wcsPoint[3], | ||
| WsfZoneDefinition & | zone, | ||
| double & | distance ) |
References WsfZoneDefinition::cCIRCULAR, WsfZoneDefinition::cELLIPTICAL, WsfZoneDefinition::cINTERNAL, WsfZoneDefinition::cPOLYGONAL, WsfZoneDefinition::cSPHERICAL, FindIntersection(), GetDistanceFromEllipseToPoint(), IADSC2ScenarioExtension::GetGlobalLogger(), GetLatLonPoints(), WsfGeoPoint::GetLocationWCS(), WsfZoneDefinition::GetRadius(), WsfZoneDefinition::GetReferenceHeading(), WsfZoneDefinition::GetRelativeType(), WsfSimulation::GetScenario(), WsfZoneDefinition::GetShapeType(), GetZoneCentroid(), WsfGeoPoint::GroundRangeTo(), PointIsInAngularExtents(), WsfZoneDefinition::PointIsInside(), and WsfGeoPoint::SetLocationWCS().
Referenced by WsfBMZoneRecord::getDistanceToZone().
| double ZoneUtils::GetDistanceFromPointToZoneCenter | ( | WsfSimulation * | sim_ptr, |
| double | wcsPoint[3], | ||
| WsfZoneDefinition & | zone ) |
|
static |
References WsfZoneDefinition::cCIRCULAR, WsfZoneDefinition::cELLIPTICAL, WsfZoneDefinition::cPOLYGONAL, WsfZoneDefinition::cSPHERICAL, WsfZoneDefinition::GetLatLonExtrema(), WsfZoneDefinition::GetLonAxisLength(), WsfZoneDefinition::GetRadius(), and WsfZoneDefinition::GetShapeType().
Referenced by isProjectedInsideZonePointHeading().
|
static |
References pos.
Referenced by isProjectedInsideZonePosVel().
| void ZoneUtils::GetLatLonPoints | ( | WsfSimulation * | sim_ptr, |
| WsfZoneDefinition & | zone, | ||
| std::vector< WsfGeoPoint > & | points ) |
References WsfZoneDefinition::cCIRCULAR, WsfZoneDefinition::cELLIPTICAL, WsfZoneDefinition::cNO_SHAPE, WsfZoneDefinition::cOBSERVER, convertEcsToGeoPoint(), WsfZoneDefinition::cPOLYGONAL, WsfZoneDefinition::cSPHERICAL, WsfZoneDefinition::GetAngleBounds(), WsfGeoPoint::GetLat(), WsfZoneDefinition::GetLatAxisLength(), WsfGeoPoint::GetLocationWCS(), WsfGeoPoint::GetLon(), WsfZoneDefinition::GetLonAxisLength(), WsfZoneDefinition::GetPoints(), WsfZoneDefinition::GetRadius(), WsfZoneDefinition::GetReferenceHeading(), WsfZoneDefinition::GetRelativeType(), WsfZoneDefinition::GetShapeType(), and GetZoneCentroid().
Referenced by GetClosestPointInZone(), GetDistanceFromPointToZone(), and isProjectedInsideZone2Points().
| WsfGeoPoint ZoneUtils::GetZoneCentroid | ( | WsfSimulation * | sim_ptr, |
| WsfZoneDefinition & | zone ) |
References WsfZone::Centroid(), WsfZoneDefinition::cINTERNAL, WsfZoneDefinition::cPOLYGONAL, WsfZoneDefinition::GetRelativeType(), WsfZoneDefinition::GetShapeType(), RecalcCentroid(), and WsfZoneDefinition::Reference().
Referenced by WsfBMZoneRecord::getCenterPoint(), GetClosestPointInZone(), GetDistanceFromEllipseToPoint(), GetDistanceFromPointToZone(), GetDistanceFromPointToZoneCenter(), GetLatLonPoints(), isProjectedInsideZonePointHeading(), and PointIsInAngularExtents().
| bool ZoneUtils::isProjectedInsideZone2Points | ( | WsfSimulation * | sim_ptr, |
| WsfZoneDefinition & | zone, | ||
| double | WcsPosition1[3], | ||
| double | WcsPosition2[3] ) |
| bool ZoneUtils::isProjectedInsideZonePointHeading | ( | WsfSimulation * | sim_ptr, |
| WsfZoneDefinition & | zone, | ||
| double | wcsPosition[3], | ||
| double | headingRadians ) |
| bool ZoneUtils::isProjectedInsideZonePosVel | ( | WsfSimulation * | sim_ptr, |
| WsfZoneDefinition & | zone, | ||
| double | wcsPosition[3], | ||
| double | wcsVelocity[3] ) |
|
static |
|
static |
References WsfZoneDefinition::GetReferencePlatform(), WsfGeoPoint::SetLocationLLA(), WsfGeoPoint::SetLocationWCS(), and success.
Referenced by GetZoneCentroid().
|
static |
References WsfZone::cUNSPECIFIED.
Referenced by WithinAltitudeBounds().
|
static |
References WsfGeoPoint::GetAlt(), WsfZoneDefinition::GetAltBounds(), and ValueSet().
Referenced by isProjectedInsideZone2Points().