MCPcopy Create free account
hub / github.com/KLayout/klayout / obj_snap2

Function obj_snap2

src/laybasic/laybasic/laySnap.cc:989–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987}
988
989TwoPointSnapToObjectResult
990obj_snap2 (lay::LayoutViewBase *view, const db::DPoint &pt, const db::DVector &grid, double min_search_range, double max_search_range)
991{
992 return obj_snap2 (view, pt, pt, grid, min_search_range, max_search_range);
993}
994
995TwoPointSnapToObjectResult
996obj_snap2 (lay::LayoutViewBase *view, const db::DPoint &pt, const db::DVector &grid, lay::angle_constraint_type ac, double min_search_range, double max_search_range)

Callers 4

auto_measureMethod · 0.85
create_measure_rulerMethod · 0.85
laySnapTests.ccFile · 0.85

Calls 3

do_obj_snap2Function · 0.85
make_cutlinesFunction · 0.85
snap_xyFunction · 0.70

Tested by

no test coverage detected