14 myTerrainAccessor(physicalWorld, coordTransformOriginLocal) {
17 virtual bool checkLineOfSight(
double topoFromX,
double topoFromY,
double heightAboveFrom,
18 double topoToX,
double topoToY,
double heightAboveTo)
const;
19 virtual double getHeight(
double topoX,
double topoY)
const;
21 DtVector topoToLocal(
double topoX,
double topoY,
double heightAboveGround = 0)
const {
return myTerrainAccessor.topoToLocal(topoX, topoY, heightAboveGround); }
Definition: hostQueryImplementation.h:10
voidpf uLong int origin
Definition: ioapi.h:42
DtTerrainAccessor myTerrainAccessor
Definition: hostQueryImplementation.h:24
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:102
Specialized classes.
Definition: scriptedTaskTask.h:274
DtVector localToTopo(DtVector pointLocal) const
Definition: hostQueryImplementation.h:20
This interface represents the host from the perspective of DtTerrainReasonerAlgos. The host is an "owner" of a topographic terrain. This allows DtTerrainReasonerAlgos to be completely ignorant of the fact that actual terrain access requires conversion between topographic and local coordinates, keeping DtTerrainReasonerAlgos detached from VRF code base.
Definition: terrainReasonerAlgos.h:181
DtVector topoToLocal(double topoX, double topoY, double heightAboveGround=0) const
Definition: hostQueryImplementation.h:21
this class encapsulates all terrain queries made by DtTerrainReasoner. This keeps DtTerrainReasoner c...
Definition: terrainAccessor.h:23
DtHostQueryImplementation(const DtPhysicalWorld &physicalWorld, DtVector coordTransformOriginLocal, string origin)
Definition: hostQueryImplementation.h:13