18 std::cout <<
"Trajectory is NULL!" << std::endl;
24 std::cout <<
"Geometry is NULL!" << std::endl;
28 std::vector<te::st::TrajectoryPatch> result;
34 for(std::size_t i = 0; i<result.size(); ++i)
36 std::cout <<
"Printing trajectory patch " << i <<
":" << std::endl;
This file contains include headers for the Data Type module of TerraLib.
void TrajectoryIntersection(te::st::Trajectory *tj, te::gm::Geometry *geom)
It calculates the intersection between a trajectory and a geometry (TrajectoryInstersection.cpp).
Examples on how to load/manipulate st types.
void getPatches(const te::gm::Envelope &g, te::gm::SpatialRelation r, std::vector< TrajectoryPatch > &result) const
It returns trajectory subsets that satisfy a given spatial relation.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
This file contains include headers for the TerraLib Common Runtime module.
This file contains include headers for the TerraLib ST module.
void PrintTrajectoryPatch(te::st::TrajectoryPatch &tjPatch)
A class to represent trajectory.
This file contains include headers for the Vector Geometry model of TerraLib.
This file contains include headers for the Data Access module of TerraLib.