Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ perpendicular
Function
perpendicular
src/svgfill/src/arrange_polygons.cpp:978–980 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
976
}
977
978
DDir perpendicular(const DDir& a) {
979
return DDir(-a.y(), a.x());
980
}
981
982
DDir canonicalize_like(const DDir& a, const DDir& ref) {
983
return (a * ref) < 0. ? -a : a;
Callers
3
rectangle_corners
Function · 0.85
merge_cluster_to_box
Function · 0.85
point_to_oriented_box_distance
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected