Box.corner

Box.corner(index)[source]

Return one of the eight corners of the box.

Parameters:
indexint

The index of the corner.

Returns:
compas.geometry.Point

The corner point.

Raises:
ValueError

If the index is not between 0 and 7.