cast#

Edge.cast()#

Cast the base edge object to the correct subclass, if possible.

Returns:
Edge