cast#

Polygon.cast()#

Cast the primitive object to the correct concrete type.

Returns:
Primitive