code: public static CoordinateSequenceDimensionFilter apply(Geometry geometry) {
          CoordinateSequenceDimensionFilter cd = new CoordinateSequenceDimensionFilter();
          geometry.apply(cd);
          return cd;
      }
docs: Init CoordinateSequenceDimensionFilter object.
  @param geometry Geometry instance
  @return CoordinateSequenceDimensionFilter instance