|
TECA
The Toolkit for Extreme Climate Analysis
|
#include "teca_binary_stream.h"#include "teca_geometry.h"#include "teca_mpi.h"#include <string>#include <vector>#include <ostream>#include <shapefil.h>Go to the source code of this file.
Functions | |
| const char * | teca_shape_file_util::shape_type_name (int shpt) |
| Get a string with the name of the shape type. More... | |
| std::ostream & | teca_shape_file_util::operator<< (std::ostream &os, const SHPObject &obj) |
| Send the shape object to the stream in a human readable form. More... | |
| template<typename coord_t > | |
| int | teca_shape_file_util::load_polygons (const std::string &filename, std::vector< teca_geometry::polygon< coord_t >> &polys, int verbose=0) |
| Read polygons from the given file. More... | |
| template<typename coord_t > | |
| int | teca_shape_file_util::load_polygons (MPI_Comm comm, const std::string &filename, std::vector< teca_geometry::polygon< coord_t >> &polys, int verbose=0) |
| int teca_shape_file_util::load_polygons | ( | const std::string & | filename, |
| std::vector< teca_geometry::polygon< coord_t >> & | polys, | ||
| int | verbose = 0 |
||
| ) |
Read polygons from the given file.
| int teca_shape_file_util::load_polygons | ( | MPI_Comm | comm, |
| const std::string & | filename, | ||
| std::vector< teca_geometry::polygon< coord_t >> & | polys, | ||
| int | verbose = 0 |
||
| ) |
Read polygons from the given file. MPI rank 0 reads and broadcasts to the other ranks in the job
| std::ostream& teca_shape_file_util::operator<< | ( | std::ostream & | os, |
| const SHPObject & | obj | ||
| ) |
Send the shape object to the stream in a human readable form.
| const char* teca_shape_file_util::shape_type_name | ( | int | shpt | ) |
Get a string with the name of the shape type.