Revision 47432 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/primitive/curve/spline/BaseSpline2D.java
BaseSpline2D.java | ||
---|---|---|
71 | 71 |
super(type, Geometry.SUBTYPES.GEOM2D); |
72 | 72 |
this.coordinates = new ArrayListCoordinateSequence(new ArrayList<>()); |
73 | 73 |
} |
74 |
|
|
75 |
// /** |
|
76 |
// * @param subtype |
|
77 |
// * @param coordinates |
|
78 |
// * @param aVertex |
|
79 |
// */ |
|
80 |
// public BaseSpline2D(Coordinate[] coordinates) { |
|
81 |
// this(); |
|
82 |
// this.coordinates = new ArrayListCoordinateSequence(new ReadOnlyCoordinates(coordinates)); |
|
83 |
// if (coordinates.length < 1) { |
|
84 |
// anyVertex = new Point2D(0, 0); |
|
85 |
// } else { |
|
86 |
// anyVertex = new Point2D(coordinates[0].x, coordinates[0].y); |
|
87 |
// } |
|
88 |
// } |
|
89 |
|
|
74 |
|
|
90 | 75 |
/** |
91 | 76 |
* @param type |
92 | 77 |
* @param coordinates |
Also available in: Unified diff