RS_Vector RS_Insert::getNearestRef(const RS_Vector& coord, double* dist) const{ return getRefPoints().getClosest(coord, dist); }
RS_Vector RS_Entity::getNearestRef(const RS_Vector& coord, double* dist) const{ RS_VectorSolutions const&& s = getRefPoints(); return s.getClosest(coord, dist); }