Homogeneous Coordinate Types?
Would this package be a good place to implement homogeneous coordinates? I'd quite like to migrate my 3D Geometry work away from my home-grown Points to GeometryTypes Points, but I need homogeneous coordinates. I might be able to implement this myself, but I'm facing a looming thesis deadline, and wary of promising anything to anyone, sadly.
I'd be happy! Feel free to ask any questions you encounter! Would be nice if you make your progress transparent, so that we can all comment. I guess I won't have many comments though ;)
@AndrewGibb this sounds great and it would be helpful! Could you describe your ideal implementation a bit more? In Descartes.jl I am using homogeneous transformation matrices, but since it is only for affine vector transforms I am just planning to add definitions to AffineTranforms.jl. It would be great if this overlapped with #11!
Something like adding a type PointH{N,T}, with convert methods to and from Point{N-1,T}. Methods defined for addition and subtraction. I guess GeometryTypes inherits dot etc from FixedSizeArrays. I think integrating with AffineTransforms.jl would be the best way to implement the transforms I need. I think that's all.