7 float hLen = plane.bounds().length() / 2;
8 float hWid = plane.bounds().width() / 2;
9 float hThick = plane.bounds().thickness() / 2;
23 std::vector<GlobalPoint>
26 std::vector<GlobalPoint>
result;
29 float hLen = plane.bounds().length() / 2;
30 float hWid = plane.bounds().width() / 2;
31 float hThick = plane.bounds().thickness() / 2;
33 result.push_back( plane.toGlobal(
LocalPoint( hWid, hLen, hThick)));
34 result.push_back( plane.toGlobal(
LocalPoint( hWid, hLen,-hThick)));
35 result.push_back( plane.toGlobal(
LocalPoint( hWid,-hLen, hThick)));
36 result.push_back( plane.toGlobal(
LocalPoint( hWid,-hLen,-hThick)));
37 result.push_back( plane.toGlobal(
LocalPoint(-hWid, hLen, hThick)));
38 result.push_back( plane.toGlobal(
LocalPoint(-hWid, hLen,-hThick)));
39 result.push_back( plane.toGlobal(
LocalPoint(-hWid,-hLen, hThick)));
40 result.push_back( plane.toGlobal(
LocalPoint(-hWid,-hLen,-hThick)));
Point3DBase< Scalar, LocalTag > LocalPoint
static std::vector< GlobalPoint > corners(const Plane &)