MCPcopy Create free account
hub / github.com/cycfi/elements / hit_element

Method hit_element

lib/src/element/composite.cpp:648–671  ·  view source on GitHub ↗

* \brief * Tests whether a point 'p' intersects an element in the * composite_base. * * `hit_element` checks if a provided point 'p' intersects with any * element's bounds within the composite, under a specified context * 'ctx'. When intersecting and the element is either 'control' or * 'wants control', the hitting information is encapsulated in a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

includesMethod · 0.80
wants_controlMethod · 0.45
hit_testMethod · 0.45

Tested by

no test coverage detected