csykes
(CSykes)
1
Hello Discourse,
I was wondering if there is a reason why Transform returns bool for GeometryBase items but for Vectors and Points it returns Void?
I’m transforming a lot of geometry dynamically and I’d love confirmation that the transformation worked for each object.
– Callum
dale
(Dale Fugier)
2
Hi @csykes,
Transforming simple data types is a simple mathematical operation. Thus no validation or returning true or false is really necessary.
However, there are a lot of class that inherit from GeometryBase and not all transformations work with all classes. Thus, the return value.
– Dale
csykes
(CSykes)
3
Hi @dale,
This is what I assumed. Makes total sense!
– Callum