Boost-Geometry Library - Use within LibreCAD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Boost-Geometry Library - Use within LibreCAD

Joseph
This post was updated on .
To all:

What is the level, if any, of implementation of the BOOST-GEOMETRY LIBRARY within Librecad???

I am finishing my readings in C Programming -> with Pointers, Arrays and Data Structures, will finish that this weekend.

Next I was hoping the BOOST GEOMETRY LIBRARY would be a good first step in C++, which I studied 25-39 years ago, along with C.

Look to move from GCC -> G++ -> Qt4 as my development environment.  

How does LibreCAD implement and use, if it does, the Boost-Geometry Library???

Thanks for any help.
Joe O'Connor

PS  
Note that a C array cannot be the point type of a linestring or a polygon.

On account of the above, if I use the boost-geometry library, I will implement the boost array type concept.  Or use the Concept of LibreCAD.
Reply | Threaded
Open this post in threaded view
|

Re: Boost-Geometry Library - Use within LibreCAD

Joseph
I need to read the posts more.  I will now do a boost search on the forum. To see what is going on,  I read Dr Li's post yesterday on the plug-in issue, it was great to read.

Joseph
Reply | Threaded
Open this post in threaded view
|

Re: Boost-Geometry Library - Use within LibreCAD

Joseph
In reply to this post by Joseph
I guess I have gotten an answer to my own question
Reply | Threaded
Open this post in threaded view
|

Re: Boost-Geometry Library - Use within LibreCAD

dxli
In reply to this post by Joseph
Hi Joseph,

Currently, we do not use boost geometry in LibreCAD, and we use boost only for boost math: elliptical integrals, linear algebra. I would love to switch to boost geometry, as soon as boost geometry can handle LibreCAD entity types better (circles and ellipses).

We didn't pull in CGAL, because we want to avoid extra deps.

Qt5 is quite compatible with Qt4, so you may start with Qt5 instead of Qt4.

Qt also handles geometry and it's easier to understand than boost geometry from a user perspective. For your purpose, you may want to read about Qt classes: QRectangle, QRect, etc. We use quite lots of Qt geometry stuff, as we already have Qt in deps.

Regards,

Dongxu


On Sat, Jul 27, 2013 at 7:58 AM, Joseph [via LibreCAD] <[hidden email]> wrote:

To all:

What is the level, if any, of implementation of the BOOST-GEOMETRY LIBRARY within Librecad???

I am finishing my readings in C Programming -> with Pointers, Arrays and Data Structures, will finish that this weekend.

Next I was hoping the BOOST GEOMETRY LIBRARY would be a good first step in C++, which I studied 25-39 years ago, along with C.

Look to move from GCC -> G++ -> Qt4 as my development environment.  

How does LibreCAD implement and use, if it does, the Boost-Geometry Library???

Thanks for any help.
Joe O'Connor


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Boost-Geometry-Library-Use-within-LibreCAD-tp5708626.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML



--
Dongxu Li, Ph.D.
www.librecad.org