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