Graphical objects of a 2D chart and 3D chart may be very similar, but the coordinate systems, in which they work, are completely different. Plane mapper objects are used to convert a 2D point to a 3D point by mapping it on a 3D plane. By using this approach, 2D chart elements, such as a grid, line chart, etc. can be rendered in a 3D space without any changes.
| Mapper | Description |
|---|---|
| PlaneMapper2D | A dummy mapper, which maps 2D point to the same 2D point. Used as a placeholder, when rendering in a real 2D chart |
| PlaneMapper3D | 3D plane mapper, which maps (x,y, z) coordinate pairs to Point3D objects |
Table 5.5.2.1 Plane Mappers
Usage of PlaneMapper:
//sets a new PlaneMapper2D Grid grid = new Grid(new PlaneMapper2D(), xMapper, yMapper); |