Applies the transformation to a geometric object.
The transformed object of the same concrete type.
The concrete type of the object, which must be a subtype of O.
The geometric object to transform.