File: draw_lcc.cpp

package info (click to toggle)
cgal 6.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 141,840 kB
  • sloc: cpp: 797,081; ansic: 203,398; sh: 490; python: 411; makefile: 286; javascript: 174
file content (17 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <CGAL/Linear_cell_complex_for_combinatorial_map.h>
#include <CGAL/draw_linear_cell_complex.h>

using LCC=CGAL::Linear_cell_complex_for_combinatorial_map<3>;
using Point=LCC::Point;

int main()
{
  LCC lcc;
  lcc.make_hexahedron(Point(0,0,0), Point(5,0,0),
                      Point(5,5,0), Point(0,5,0),
                      Point(0,5,4), Point(0,0,4),
                      Point(5,0,4), Point(5,5,4));
  CGAL::draw(lcc);

  return EXIT_SUCCESS;
}