Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
sufficient_stats | operator+ (sufficient_stats const &a, sufficient_stats const &b) |
sufficient_stats | operator- (sufficient_stats const &a, sufficient_stats const &b) |
std::ostream & | operator<< (std::ostream &out_file, const sufficient_stats &s) |
Point | map_point (Point p, Rect src, Point topleft, Point bottomright) |
returns a point which is portionally between topleft and bottomright in the same way that p was in src. | |
void | parse_data (vector< vector< Point > > &paths, string location_file_name, string path_file_name) |
void | extremePoints (vector< Point > const &pts, Point const &dir, Point &min, Point &max) |
template<class T > | |
reg_line | line_best_fit (T b, T e) |
int | main (int argc, char **argv) |
Variables | |
vector< vector< Point > > | paths |
Definition at line 363 of file metro.cpp.
References Geom::dot(), Geom::max(), and Geom::min().
reg_line line_best_fit | ( | T | b, |
T | e | ||
) |
Definition at line 652 of file metro.cpp.
References Geom::dot(), Geom::rot90(), and Geom::unit_vector().
returns a point which is portionally between topleft and bottomright in the same way that p was in src.
Definition at line 283 of file metro.cpp.
References Geom::GenericRect< C >::min().
Referenced by parse_data().
sufficient_stats operator+ | ( | sufficient_stats const & | a, |
sufficient_stats const & | b | ||
) |
sufficient_stats operator- | ( | sufficient_stats const & | a, |
sufficient_stats const & | b | ||
) |
|
inline |
void parse_data | ( | vector< vector< Point > > & | paths, |
string | location_file_name, | ||
string | path_file_name | ||
) |
Definition at line 292 of file metro.cpp.
References bounds, map_point(), and paths.
vector<vector<Point> > paths |
Definition at line 36 of file metro.cpp.
Referenced by cola::RootCluster::calculateClusterPathsToEachNode(), Inkscape::LivePathEffect::collectPathsAndWidths(), Inkscape::LivePathEffect::LPEKnotNS::CrossingPoints::CrossingPoints(), Inkscape::LivePathEffect::LPEVonKoch::doBeforeEffect(), draw_cell(), Inkscape::Colors::CMS::get_directory_paths(), Inkscape::UI::Dialog::InkscapePreferences::initPageSystem(), main(), main(), parse_data(), Geom::parting_point(), Geom::paths_to_pw(), pathvector_cut(), Inkscape::LivePathEffect::LPEVonKoch::resetDefaults(), Inkscape::BooleanBuilder::shape_commit(), Inkscape::LivePathEffect::sp_pathvector_boolop_remove_inner(), sp_selected_path_create_offset_object(), Inkscape::split_non_intersecting_paths(), and Inkscape::Trace::Potrace::PotraceTracingEngine::writePaths().