| 28 | } |
| 29 | |
| 30 | PointT Cylinder::asPoint(const Scalar height) |
| 31 | { |
| 32 | Scalar t = (height - model.root[2]) / model.ray[2]; |
| 33 | Vector3 eigenPoint = model.root + t * model.ray; |
| 34 | PointT point; |
| 35 | point.x = eigenPoint[0]; |
| 36 | point.y = eigenPoint[1]; |
| 37 | point.z = 0; |
| 38 | return point; |
| 39 | } |
| 40 | |
| 41 | bool Cylinder::groundBasedRoot(const Plane &gplane) |
| 42 | { |
nothing calls this directly
no outgoing calls
no test coverage detected