Geometry and Haptics Part 3
Description
Added the 3D geometry of extruded surfaces, which are made by extruding a 2D cross section along a Line.
Using the C# concept of an interface to implement the cross section. Not strictly necessary, since the only thing that implements ICrossSection is Geometry2D right now, but we could have other implementations in the future. I was mainly just trying something out, and I like how flexible (figuratively) it can be.
What to focus on
- Extrusion, the only other 3D geometry object besides RectangularPrism
- HapticExtrusion, based on the Extrusion
- Testing the HapticExtrusion in HapticGeometryTest
- Added a "Cylinder" to HapticObjectTest, but it needs some additional work. Should be functional.