assertTrue(Double.compare(uc.getOrdinate(0), Double.NaN) == 0);
assertTrue(Double.compare(uc.getOrdinate(1), Double.NaN) == 0);
assertTrue(Double.compare(uc.getOrdinate(2), Double.NaN) == 0);
// public Position createPosition(DirectPosition dp);
Position pos1 = cf.createPosition(dp2);
assertTrue(pos1.getDirectPosition().getOrdinate(0) == 10.0);
assertTrue(pos1.getDirectPosition().getOrdinate(1) == -115000.0);
assertTrue(pos1.getDirectPosition().getOrdinate(2) == 0.0000000125);
// public LineSegment createLineSegment(Position startPoint, Position endPoint);
Position pos2 = cf.createPosition(dp1);
LineSegment seg1 = cf.createLineSegment(pos1, pos2);
assertTrue(Double.compare(seg1.getEndPoint().getOrdinate(0), Double.NaN) == 0.0);
assertTrue(Double.compare(seg1.getEndPoint().getOrdinate(1), Double.NaN) == 0.0);
assertTrue(Double.compare(seg1.getEndPoint().getOrdinate(2), Double.NaN) == 0.0);
assertTrue(seg1.getStartPoint().getOrdinate(0) == 10.0);