TopologyValidationError.withCoordinate constructor
TopologyValidationError.withCoordinate(
- int errorType,
- Coordinate? pt
Creates a validation error with the given type and location
@param errorType the type of the error @param pt the location of the error
Implementation
TopologyValidationError.withCoordinate(int errorType, Coordinate? pt) {
this.errorType = errorType;
if (pt != null) this.pt = pt.copy();
}