In my project the PolyCirculinearCurve2D contains lines and arcs. It is the toolpath for a CNC lathe.
I use this library in a netbeans plugin to plot a G-code contour. It is mainly used to calculate intersections between circles and lines.
Complex because of a lot of java interfaces, but does a very good job, thank you!
Herbert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
sorry for delay of response, I have actually moved the repository to GitHub, and do not visit sourceforge as regularly...
You are right, this is a bug.
I fixed the problem, you can updated source from this page: https://github.com/dlegland/javaGeom
or you can wait for next release (not yet planned, however).
hope this helps anyway...
regards,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
if i convert a line to a PolyCirculinearCurve2D and create the bounding Box the result is wrong in my opinion:
result:
Boundingbox: Box2D(5.0,4.9E-324,1.0,2.0)
or with 2 elements:
result:
Boundingbox: Box2D(-2.0,4.9E-324,1.0,3.0)
In my project the PolyCirculinearCurve2D contains lines and arcs. It is the toolpath for a CNC lathe.
I use this library in a netbeans plugin to plot a G-code contour. It is mainly used to calculate intersections between circles and lines.
Complex because of a lot of java interfaces, but does a very good job, thank you!
Herbert
Hi,
sorry for delay of response, I have actually moved the repository to GitHub, and do not visit sourceforge as regularly...
You are right, this is a bug.
I fixed the problem, you can updated source from this page: https://github.com/dlegland/javaGeom
or you can wait for next release (not yet planned, however).
hope this helps anyway...
regards,
David