public double[][] simplifiedCurveCoordinates(){
        if(!this.simplifyDone){
            if(!this.tolerenceEntered){
                throw new IllegalArgumentException("No tolerance has been entered");
            }
            else{
                this.douglasPeucker();
            }
        }
        return Point.getArrayCoordinates(this.simplifiedPoints);
    }