}
public void testCurveAgain() {
GeometryBuilder builder = new GeometryBuilder(DefaultGeographicCRS.WGS84);
PositionFactory posF = builder.getPositionFactory();
PrimitiveFactory primF = builder.getPrimitiveFactory();
GeometryFactory geomF = builder.getGeometryFactory();
// create directpositions
DirectPosition start = posF.createDirectPosition(new double[]{ 48.44, -123.37 });
DirectPosition middle = posF.createDirectPosition(new double[]{ 47, -122 });
DirectPosition end = posF.createDirectPosition(new double[]{ 46.5, -121.5 });