cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryReader.java
public Point readPoint(String name, int index) {

		Variable pointvar = ds.findVariable(name);
		if(pointvar == null) return null;
		Point pt = null;
		
		// CFConvention
		if(ds.findGlobalAttribute(CF.CONVENTIONS) != null)
			if(ucar.nc2.dataset.conv.CF1Convention.getVersion(ds.findGlobalAttribute(CF.CONVENTIONS).getStringValue()) >= 8)
				pt = new CFPoint();
		
		if(pt == null) return pt;
		else return pt.setupPoint(ds, pointvar, index);
	}
public Point readPoint(String name, int index) {

		Variable pointvar = ds.findVariable(name);
		if(pointvar == null) return null;
		Point pt = null;
		
		// CFConvention
		if(ds.findGlobalAttribute(CF.CONVENTIONS) != null)
			if(ucar.nc2.dataset.conv.CF1Convention.getVersion(ds.findGlobalAttribute(CF.CONVENTIONS).getStringValue()) >= 8)
				pt = new CFPoint();
		
		if(pt == null) return pt;
		else return pt.setupPoint(ds, pointvar, index);
	}
public Point readPoint ( String name , int index ) { Variable pointvar = ds . findVariable ( name ) ; if ( pointvar == null ) return null ; Point pt = null ; // CFConvention
 if ( ds . findGlobalAttribute ( CF . CONVENTIONS ) != null ) if ( ucar . nc2 . dataset . conv . CF1Convention . getVersion ( ds . findGlobalAttribute ( CF . CONVENTIONS ) . getStringValue ( ) ) >= 8 ) pt = new CFPoint ( ) ; if ( pt == null ) return pt ; else return pt . setupPoint ( ds , pointvar , index ) ; }
Returns a Point given a variable name and the geometric index. If the Point is not found it will return null. If the Point is a part of the Multi-Point, it will return the head
(the first Point in the series which constitutes the Multi-Point).

@param name of the variable which holds the Point
@param index of the Point within the variable
@return a new Point with all associated information
Returns a Point given a variable name and the geometric index . If the Point is not found it will return null . If the Point is a part of the Multi - Point it will return the head ( the first Point in the series which constitutes the Multi - Point ) .