Intersection of to Triangulated Irregular Network

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

Intersection of to Triangulated Irregular Network

Matthew Denno
I am new to to CGAL, and I was hoping that maybe someone ion this list could answer a question for me.  Does the CGAL have tools/capabilities to calculate the spacial intersection of to Triangulated Irregular Networks (Delaunay triangulation of 3D points) in 3D space?  If not does anyone know of a tool or algorithm to achieve this?

Thank you for your help.

Matt
Reply | Threaded
Open this post in threaded view
|

Re: problem to compile Triangulation_3

alexa alexandra

I am new to  CGAL, and I was hoping that maybe someone in this list could help me to rezolve my problem.
I need a Triangulation algorithm in a 3D space  for my project and I found one in 
CGAL/exemples/Triangulation_3 but when i try to compile I encountered too many errors.I don't know what to do? Please help me.

Errors:

adding_handles.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(181) : error C2065: 'FLT_RADIX' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(181) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(994) : error C2065: 'FLT_MANT_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(994) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(995) : error C2065: 'FLT_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(995) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(996) : error C2065: 'FLT_MAX_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(996) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(997) : error C2065: 'FLT_MAX_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(997) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(998) : error C2065: 'FLT_MIN_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(998) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(999) : error C2065: 'FLT_MIN_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(999) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1056) : error C2065: 'DBL_MANT_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1056) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1057) : error C2065: 'DBL_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1057) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1058) : error C2065: 'DBL_MAX_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1058) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1059) : error C2065: 'DBL_MAX_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1059) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1060) : error C2065: 'DBL_MIN_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1060) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1061) : error C2065: 'DBL_MIN_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1061) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1118) : error C2065: 'LDBL_MANT_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1118) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1119) : error C2065: 'LDBL_DIG' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1119) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1120) : error C2065: 'LDBL_MAX_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1120) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1121) : error C2065: 'LDBL_MAX_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1121) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1122) : error C2065: 'LDBL_MIN_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1122) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1123) : error C2065: 'LDBL_MIN_10_EXP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1123) : error C2057: expected constant expression
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(956) : error C2065: 'FLT_MIN' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(961) : error C2065: 'FLT_MAX' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(966) : error C2065: 'FLT_EPSILON' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(976) : error C2065: '_FDenorm' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(976) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(981) : error C2065: '_FInf' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(981) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(986) : error C2065: '_FNan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(986) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(991) : error C2065: '_FSnan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(991) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1018) : error C2065: 'DBL_MIN' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1023) : error C2065: 'DBL_MAX' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1028) : error C2065: 'DBL_EPSILON' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1038) : error C2065: '_Denorm' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1038) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1043) : error C2065: '_Inf' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1043) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1048) : error C2065: '_Nan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1048) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1053) : error C2065: '_Snan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1053) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1080) : error C2065: 'LDBL_MIN' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1085) : error C2065: 'LDBL_MAX' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1090) : error C2065: 'LDBL_EPSILON' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1100) : error C2065: '_LDenorm' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1100) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1105) : error C2065: '_LInf' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1105) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1110) : error C2065: '_LNan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1110) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1115) : error C2065: '_LSnan' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(1115) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\CGAL-3.3.1\include\CGAL/FPU.h(318) : error C3861: '_controlfp_s': identifier not found
C:\Program Files\CGAL-3.3.1\include\CGAL/FPU.h(318) : error C2065: '_MCW_RC' : undeclared identifier
C:\Program Files\CGAL-3.3.1\include\CGAL/FPU.h(326) : error C3861: '_controlfp_s': identifier not found
C:\Program Files\CGAL-3.3.1\include\CGAL/FPU.h(343) : error C2065: '_RC_NEAR' : undeclared identifier
C:\Program Files\CGAL-3.3.1\include\CGAL/FPU.h(355) : error C2065: '_RC_UP' : undeclared identifier
C:\Program Files\CGAL-3.3.1\include\CGAL/double.h(243) : error C3861: '_nextafter': identifier not found
C:\Program Files\CGAL-3.3.1\include\CGAL/double.h(117) : error C3861: '_isnan': identifier not found
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(45) : error C2371: '_Denorm' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(45) : error C2371: '_Inf' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(46) : error C2371: '_Nan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(46) : error C2371: '_Snan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(53) : error C2371: '_FDenorm' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(53) : error C2371: '_FInf' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(53) : error C2371: '_FNan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(53) : error C2371: '_FSnan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(60) : error C2371: '_LDenorm' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(60) : error C2371: '_LInf' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(60) : error C2371: '_LNan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\ymath.h(60) : error C2371: '_LSnan' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(152) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(167) : error C2228: left of '._Long_double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(239) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(254) : error C2228: left of '._Double' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(326) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\VC\include\complex(341) : error C2228: left of '._Float' must have class/struct/union
        type is ''unknown-type''





Reply | Threaded
Open this post in threaded view
|

Re: problem to compile Triangulation_3

Sylvain Pion
Administrator
alexa alexandra a écrit :

>
> I am new to  CGAL, and I was hoping that maybe someone in this list
> could help me to rezolve my problem.
> I need a Triangulation algorithm in a 3D space  for my project and I
> found one in
> CGAL/exemples/Triangulation_3 but when i try to compile I encountered
> too many errors.I don't know what to do? Please help me.
>
> Errors:
>
> adding_handles.cpp
> C:\Program Files\Microsoft Visual Studio 8\VC\include\limits(181) :
> error C2065: 'FLT_RADIX' : undeclared identifier

For this error message, a Google search gives another one:
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/08c89897-9e7f-4bcd-8eb3-8f230d655d3c/

Does this help?

Is something fishy happenning with RC_INVOKED from one of the headers
you are including before CGAL's (and please give us the complete list
of these)?

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Re: problem to compile Triangulation_3

adrien.fontvielle
Hello,
I'm also using CGAL and had the same error (VS 8 2005 Win64).
For what I can see, what's, happening is that some file in the headers of CGAL
#include <cfloat> which itself try to #include "float.h" . Instead of including
the standard one, it get the one defined in $(CGAL_DIR)/include/CGAL, which I
had in my "Additional Include Dir".

I solved this problem by only adding $(CGAL_DIR)/include in the "Additional
Include Dir".
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss