pts
pts copied to clipboard
Parameter confused
pts: GroupLike
Parameters like this really confused, What is the differences of PtLikeIterable or GroupLike Or construct a Group(new Pt(x,y), new Pt(a,b)), Group([1,2,3,4]) In practice, I think all these objects are different, because some works in Curve, some don't.
I think this is the biggest obstacle in this project, people have to read your Demo code to try which works.
Thanks for the feedback @tcper -- there might be some ways to simplify. I'll look into this.
Following up on this. As a starting point, I've updated the documentations so it's clearer what these types mean.
Not sure if I can simplify it further. Needed the Iterable types as we want to support non-array iterables.
When in doubt, just pass a Group instance which should work always :)