MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / intersect1

Function intersect1

src/python/PyImath/PyImathPlane.cpp:271–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270template <class T, class S>
271static object
272intersect1(const Plane3<T> &plane, const Line3<S> &line)
273{
274 MATH_EXC_ON;
275 Vec3<T> intersection;
276 Line3<T> l;
277 l.pos = line.pos;
278 l.dir = line.dir;
279 if(plane.intersect(l, intersection))
280 return object(intersection);
281
282 return object();
283
284}
285
286template <class T>
287static void

Callers

nothing calls this directly

Calls 1

intersectMethod · 0.80

Tested by

no test coverage detected