pathIterator.currentSegment(point);
SLDStyleFactory styleFactory = new SLDStyleFactory();
Style2D tmp = null;
try {
tmp = styleFactory.createStyle(feature, pointSymbolizer, new NumberRange(Double.class, Double.NEGATIVE_INFINITY,
Double.POSITIVE_INFINITY));
} catch (Exception e) {
PointSymbolizerWrapper tmpPs = new PointSymbolizerWrapper(pointSymbolizer, null);
tmp = styleFactory.createStyle(feature, pointSymbolizer, new NumberRange(Double.class, Double.NEGATIVE_INFINITY,
Double.POSITIVE_INFINITY));
}
if (tmp instanceof MarkStyle2D) {
MarkStyle2D style = (MarkStyle2D) tmp;
Shape shape2 = style.getTransformedShape(point[0], point[1]);