MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / to_exact_point

Function to_exact_point

src/svgfill/src/arrange_polygons.cpp:990–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988}
989
990Point_2 to_exact_point(const DPoint& p) {
991 return Point_2(p.x(), p.y());
992}
993
994double point_line_distance(const DPoint& p, const DPoint& line_point, const DDir& line_dir) {
995 auto u = unit(line_dir);

Callers 2

merge_cluster_to_boxFunction · 0.85
join_segment_runsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected