cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java
public void addPoint(double x, double y) {
		Point ptPrev = null;
		
		if(points.size() > 0) {
			ptPrev = points.get(points.size() - 1);
		}
		
		this.points.add(new CFPoint(x, y, ptPrev, null, null));
		
	}
public void addPoint(double x, double y) {
		Point ptPrev = null;
		
		if(points.size() > 0) {
			ptPrev = points.get(points.size() - 1);
		}
		
		this.points.add(new CFPoint(x, y, ptPrev, null, null));
		
	}
public void addPoint ( double x , double y ) { Point ptPrev = null ; if ( points . size ( ) > 0 ) { ptPrev = points . get ( points . size ( ) - 1 ) ; } this . points . add ( new CFPoint ( x , y , ptPrev , null , null ) ) ; }
Add a point to the end of the line.
Add a point to the end of the line .