public static Geometry drapePoints ( Geometry pts , Geometry triangles , STRtree sTRtree ) { Geometry geomDrapped = pts . copy ( ) ; CoordinateSequenceFilter drapeFilter = new DrapeFilter ( sTRtree ) ; geomDrapped . apply ( drapeFilter ) ; return geomDrapped ; }
Drape a point or a multipoint geometry to a set of triangles