Behauptungsverletzung für bestimmte Halbraumschnittpunkte unter Verwendung von „Nef_polyhedron_3“ von CGAL

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Behauptungsverletzung für bestimmte Halbraumschnittpunkte unter Verwendung von „Nef_polyhedron_3“ von CGAL

by Guest » 13 Jan 2025, 12:46

Ich sehe einige Behauptungsverletzungen in Bezug auf bestimmte Halbraum-
Schnittpunkte, die mit CGALs Nef_polyhedron_3 berechnet wurden.
Betrachten Sie als einfaches Beispiel das folgende Beispielprogramm:< /p>

Code: Select all

#include 

#include 
#include 
#include 

using Kernel = CGAL::Extended_cartesian;
using Nef = CGAL::Nef_polyhedron_3;

int main(int argc, char ** argv)
{
Nef hspace_1_1(Nef::Plane_3(1.0, 0.0, 0.0, 0.0), Nef::INCLUDED);
Nef hspace_1_2(Nef::Plane_3(1.0, 0.0, 0.0, 1.0), Nef::INCLUDED);
Nef hspace_2_1(Nef::Plane_3(0.0, 1.0, 0.0, 0.0), Nef::INCLUDED);
Nef hspace_2_2(Nef::Plane_3(0.0, 1.0, 0.0, 1.0), Nef::INCLUDED);
Nef hspace_3_1(Nef::Plane_3(0.0, 0.0, 1.0, 0.0), Nef::INCLUDED);
Nef hspace_3_2(Nef::Plane_3(0.0, 0.0, 1.0, 1.0), Nef::INCLUDED);

Nef intersection_1 = hspace_1_1*hspace_1_2;
std::cout

Top