Converts a path to an array of points.
def PathToPoint2DArray( inPath: Path, / ) -> outPoints: list[Point2D]