|
ENCX SDK
5.6.0.1
|
Properties and methods for ENCX::RouteCheck. More...
import"encxcom.idl";

Public Member Functions | |
| HRESULT | Check ([in] IGeoPoints *geoPoints, [in] enum GeoLineType lineType, [in] double safetyContourMetres, [in] double safetyDistanceMetres, [in] IS57Manager *manager, [out, retval] BSTR *xml) |
| Check route safety. More... | |
| HRESULT | BeginCheck ([in] IGeoPoints *geoPoints, [in] enum GeoLineType lineType, [in] double safetyContourMetres, [in] double safetyDistanceMetres, [in] IS57Manager *manager) |
| Starts checking the route on a background thread and returns at once. More... | |
| HRESULT | CancelCheck () |
| Cancels the check started by BeginCheck. Nothing is reported for it. More... | |
Properties | |
| VARIANT_BOOL | CheckLinesWithinSafetyDistance [get, set] |
| Report line features that the route passes within the safety distance of, without crossing them. Off by default. More... | |
| VARIANT_BOOL | CheckAreasWithinSafetyDistance [get, set] |
| Report area features that the route passes within the safety distance of, without entering them. Off by default. More... | |
| VARIANT_BOOL | Checking [get] |
| Whether a check started by BeginCheck has yet to be reported or cancelled. More... | |
Properties and methods for ENCX::RouteCheck.
Definition at line 3905 of file encxcom.idl.
| HRESULT IRouteCheck::BeginCheck | ( | [in] IGeoPoints * | geoPoints, |
| [in] enum GeoLineType | lineType, | ||
| [in] double | safetyContourMetres, | ||
| [in] double | safetyDistanceMetres, | ||
| [in] IS57Manager * | manager | ||
| ) |
Starts checking the route on a background thread and returns at once.
The result is reported by _IRouteCheckEvents::OnCheckComplete, or _IRouteCheckEvents::OnCheckFailed, on the thread that called BeginCheck, which must run a message loop. Starting another check cancels this one, and nothing is reported for a cancelled check, so only the latest check's result is ever reported. The manager is kept alive until the check has finished, even if this RouteCheck is released first. CheckLinesWithinSafetyDistance and CheckAreasWithinSafetyDistance are read when the check starts.
| HRESULT IRouteCheck::CancelCheck | ( | ) |
Cancels the check started by BeginCheck. Nothing is reported for it.
| HRESULT IRouteCheck::Check | ( | [in] IGeoPoints * | geoPoints, |
| [in] enum GeoLineType | lineType, | ||
| [in] double | safetyContourMetres, | ||
| [in] double | safetyDistanceMetres, | ||
| [in] IS57Manager * | manager, | ||
| [out, retval] BSTR * | xml | ||
| ) |
Check route safety.
|
getset |
Report area features that the route passes within the safety distance of, without entering them. Off by default.
See CheckLinesWithinSafetyDistance.
|
get |
Whether a check started by BeginCheck has yet to be reported or cancelled.
|
getset |
Report line features that the route passes within the safety distance of, without crossing them. Off by default.
Before 5.6 this and CheckAreasWithinSafetyDistance applied the other way round from their names.