getLengthStatic static method
Computes the length for a given {@link LinearLocation} on a linear {@link Geometry}.
@param linearGeom the linear geometry to use @param loc the {@link LinearLocation} index of the location @return the length for the {@link LinearLocation}
Implementation
static double getLengthStatic(Geometry linearGeom, LinearLocation loc) {
LengthLocationMap locater = new LengthLocationMap(linearGeom);
return locater.getLength(loc);
}