MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / is_on_boundary_corners

Method is_on_boundary_corners

tools/Wires/Misc/BoxChecker.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool BoxChecker::is_on_boundary_corners(const VectorF& p) const {
52 if (!is_on_boundary(p)) return false;
53 return get_dim_on_border(p) == m_dim;
54}
55
56size_t BoxChecker::get_dim_on_border(const VectorF& p) const {
57 VectorF dist_to_min = p - m_bbox_min;

Callers 3

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64