cast ==== .. currentmodule:: ansys.edb.core.primitive.rectangle .. automethod:: Rectangle.cast