clear method

Path clear()

Clears the internal state of this path.

Implementation

Path clear() {
	waypoints.clear();
	_index = 0;

	return this;
}