Questions tagged [cgal]

The Computational Geometry Algorithms Library (CGAL) is a software library that aims to provide easy access to efficient and reliable algorithms in computational geometry.

The goal of the CGAL Open Source Project is to provide easy access to efficient and reliable geometric algorithms in the form of a C++ library. CGAL is used in various areas needing geometric computation, such as: computer graphics, scientific visualization, computer aided design and modeling, geographic information systems, molecular biology, medical imaging, robotics and motion planning, mesh generation, numerical methods...

The CGAL library is primarily written in , but bindings using are provided by the CGAL bindings project (for example and bindings).

1299 questions
-1
votes
1 answer

Interoperability between Metal Shading Language (MSL) and C++ Libraries

I’m developing an iOS app and solved the interoperability Swift-C++ in the CPU side wrapping the C++ classes in Objective-C. But on the GPU side, I don’t Know if exists any way of call and retrieve data from a pure C++ class (not MSL). Since MSL is…
-1
votes
1 answer

CGAL file not found after installation

I recently installed CGAL from their website. I used the native installer that is up to download on the website, and after selecting a directory, the installation completed. I am looking through the User Manual and trying to run some basic code, but…
Saswat Mishra
  • 185
  • 1
  • 11
-1
votes
1 answer

Should one install cgal 4.12 via packages or manually? (ubuntu 17.10)

If the package-based approach to installing CGAL 4.12 on ubuntu (on the order of a minute) provides the same functionality of a manual installation (a day-long effort) it would be good to know. To manually build cgal 4.12, I assembled the…
DrTSPC
  • 13
  • 4
-1
votes
1 answer

Rendering 3D Delaunay using C++ and DirectX

I tried the code below, but I have incorrect indices. I'm trying to render lines using CGAL and 3D Delaunay, but I get correct indices. It was hard to get the indices of the 3D Delaunay. I don't know which part is wrong, I try with 4 vertices, it…
andre
  • 731
  • 2
  • 13
  • 27
-1
votes
1 answer

CGAL How to save std::vector points into .xyz file?

I'm new to C++ and I'm not familiar with vector and pair. I'm working on CGAL, and I want to save std::vector points into a .xyz file, but the provided example in CGAL doc uses different type std::pair in order to save. Could…
rathaROG
  • 31
  • 9
-1
votes
1 answer

cmake: no cmake_c_compiler could be found

I want to use CGAL framework, so I tried to use CMAKE to build CGAL library, but when I choose Visual Studio 2015 compiler, it shows the following error: the error log contains: Compiling the CXX compiler identification source file …
user8452156
  • 1
  • 1
  • 4
-1
votes
1 answer

Splitting a pair datatype into its elements in CGAL

I'm a newbie to CGAL and also C++ (Actually I'm a C developer and just moved to C++ in order to use CGAL). I found that by mixing 2-3 examples provided in the CGAL documentation, I can do what I want with CGAL. If I run each code separately and take…
Alibemz
  • 115
  • 1
  • 7
-1
votes
1 answer

Cannot make CGAL examples in Cygwin

I am unable to build some of the CGAL examples under Cygwin. All of the failing examples share similar error messages. Any guidance would be most appreciated. Following are the steps that I followed and a sample error from a "make". Cygwin (x64)…
-1
votes
1 answer

where can I find the .cpp file in CGAL?

I download the source code of CGAL in Github, but I just find the .h file,no .cpp, where can I get it? cause there is only declaration of function in the class of .h, but i want to see the source code of the function. Thanks.
sutongkui
  • 9
  • 3
-1
votes
1 answer

"EIGEN3_INCLUDE_DIR-NOTFOUND" error message

The demo Polyhedron in CGA with Cmake Configuring incomplete, gives: "EIGEN3_INCLUDE_DIR-NOTFOUND" I've been stuck for a while; any idea to help me?
Daniel
  • 5
  • 2
-1
votes
1 answer

CGAL triangulation over 3D points - trying to 'skin'

I hope this is not too vague. I find the CGAl library quite difficult to understand and it may just be a difference in terminology that is confusing me. I am trying to create a triangulation over a set of 3D points but I'm not sure I am using the…
-1
votes
2 answers

How to work with .obj files in CGAL

I am trying to build a simple first person shooter using openGL, SDL and CGAL. I would like to be able to load objects with textures I create in blender into the game and use CGAL to perform computation on the objects/textures (such as subdivision…
Nick
  • 862
  • 12
  • 35
-1
votes
2 answers

Get connected points (edges) from a d-dimensional Delaunay Triangulation in CGAL

I have a set of points. I want to calculate the Delaunay Triangulation of them using CGAL and then get the neighbors back. Input: p1, p2, p3, p4, ... Output: p1-p2, p1-p4, .... I found answers to this problem for 2 or 3 dimensions. However I need…
-1
votes
1 answer

Error compiling CGAL with Qt Creator

I've got an error when I try to compile some code using CGAL in Qt Creator. Here's my .pro file : QT += core QT -= gui TARGET = TestCCGALAppliConsole CONFIG += console CONFIG -= app_bundle CONFIG -= x86_64 CONFIG +=…
-1
votes
1 answer

CGAL: Error in compiling code

I am trying to implement a Delaunay triangulation on a pointcloud which is defined in 3d space with cartesian co-ordinates. I am using QT on Windows 7 (64 bit) and the CGAL library to do the same. The library is correctly installed. Everytime I try…
thedorkknight
  • 183
  • 3
  • 12
1 2 3
86
87