To display geometric shapes on a 3D terrain, LuciadCPillar uses a custom visualization technique called draping: the shape follows the changes in elevation, even when more detailed elevation becomes available.

To enable or disable draping, you can use the draw methods on the FeatureCanvas. For example, FeatureCanvas::drawGeometry returns a GeometryDrawCommand instance. To enable or disable draping, you can call GeometryDrawCommand::draped on that instance. This is demonstrated in Program: using the feature painter.

If you do not call the draped method explicitly, draping is enabled for all geometries that have zero height values. Shapes that do have height information are, by default, not draped.