Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Geometry library in C++ [closed]

Tags:

c++

geometry

I am looking for an easy to use and well documented geometry library in c++. I would like to use it in 3D perception that I am dealing with point clouds. Coordinate transformations, rotations and translations are my special concern now. Any suggestion?

like image 885
Rasoul Avatar asked Feb 05 '12 12:02

Rasoul


2 Answers

A very powerful library is cgal. Some of the functions in opengl may also be of use.

like image 154
Ivaylo Strandjev Avatar answered Oct 19 '22 23:10

Ivaylo Strandjev


Check out Boost::Geometry

It has some basic point definitions and coordinate systems as well as distance calculations. From there you can extend it as needed.

There's also some intersection routines and things to find convex hulls from clouds of points.

like image 36
tpg2114 Avatar answered Oct 20 '22 01:10

tpg2114