Register a cast handler for a shape type pair. If a handler already exists for the pair, it will be overwritten.
first shape type
second shape type
cast handler function
Register a cast handler for a shape type pair. If a handler already exists for the pair, it will be overwritten.