|
|
|||
File indexing completed on 2026-12-02 09:14:49
0001 #include <iostream> 0002 0003 #include "FlatSurface.h" 0004 0005 int main() { 0006 // 100x100 plane at z=10, ray from the origin along +z 0007 IRT2::FlatSurface plane(TVector3(0, 0, 10), TVector3(1, 0, 0), TVector3(0, 1, 0), 100, 100); 0008 TVector3 crs; 0009 bool ok = plane.GetCrossing(TVector3(0, 0, 0), TVector3(0, 0, 1), &crs, false); 0010 std::cout << "crossing: " << ok << " z=" << crs.z() << std::endl; 0011 return ok ? 0 : 1; 0012 }
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|