MapLink Pro .
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::maplink::earth::PickResultTrack Class Reference
Inheritance diagram for envitia::maplink::earth::PickResultTrack:

Detailed Description

This class represents a single pick result from Surface3D::pickTracks, or other methods which return an earth::Track from a pick operation.

It may not be created or destroyed by the user.

The results may be invalided by the next draw call to the Drawing Surface.

Public Member Functions

Track * track () const
Public Member Functions inherited from TSLPickResult
TSLPickResultEnum queryType () const
const char * getDataLayer () const
const TSLEnvelope & pickExtent () const

Static Public Member Functions

static const PickResultTrack * isType (const TSLPickResult *result)

Member Function Documentation

◆ isType()

const PickResultTrack * envitia::maplink::earth::PickResultTrack::isType ( const TSLPickResult * result)
static

Checks to see if the pick result is of this type and if so, returns a pointer to the object of the correct type.

Parameters
resultThe pick result to query the type of.
Returns
A pointer to the result of the correct type or NULL if the result is not of this type.

◆ track()

Track * envitia::maplink::earth::PickResultTrack::track ( ) const

Gets the track that was picked.

Returns
track that has been picked.