Fix indentation and markdown

This commit is contained in:
Maxime Gimeno 2019-01-16 09:58:02 +01:00
parent 1006be85bd
commit cb10422e3c
5 changed files with 53 additions and 53 deletions

View File

@ -708,7 +708,7 @@ user might encounter.
## I/O Functions ##
- \link PkgBGLIOFct CGAL::read_off() \endlink
- \link PkgBGLIOFct CGAL::write_off() \endlink
- \link PkgBGLIOFct `CGAL::write_VTP()` \endlink
- \link PkgBGLIOFct CGAL::write_VTP() \endlink
- \link PkgBGLIOFct CGAL::write_wrl() \endlink
*/

View File

@ -55,13 +55,13 @@ write_polys(std::ostream& os,
for( face_iterator fit = faces(mesh).begin() ;
fit != faces(mesh).end() ;
++fit )
{
off += 3;
offsets.push_back(off);
BOOST_FOREACH(vertex_descriptor v,
vertices_around_face(halfedge(*fit, mesh), mesh))
connectivity_table.push_back(V[v]);
}
{
off += 3;
offsets.push_back(off);
BOOST_FOREACH(vertex_descriptor v,
vertices_around_face(halfedge(*fit, mesh), mesh))
connectivity_table.push_back(V[v]);
}
write_vector<std::size_t>(os,connectivity_table);
write_vector<std::size_t>(os,offsets);
write_vector<unsigned char>(os,cell_type);
@ -105,13 +105,13 @@ write_polys_tag(std::ostream& os,
else {
os << "\">\n";
for( face_iterator fit = faces(mesh).begin() ;
fit != faces(mesh).end() ;
++fit )
{
BOOST_FOREACH(vertex_descriptor v,
vertices_around_face(halfedge(*fit, mesh), mesh))
os << V[v] << " ";
}
fit != faces(mesh).end() ;
++fit )
{
BOOST_FOREACH(vertex_descriptor v,
vertices_around_face(halfedge(*fit, mesh), mesh))
os << V[v] << " ";
}
os << " </DataArray>\n";
}
@ -128,12 +128,12 @@ write_polys_tag(std::ostream& os,
os << "\">\n";
std::size_t polys_offset = 0;
for( face_iterator fit = faces(mesh).begin() ;
fit != faces(mesh).end() ;
++fit )
{
polys_offset += 3;
os << polys_offset << " ";
}
fit != faces(mesh).end() ;
++fit )
{
polys_offset += 3;
os << polys_offset << " ";
}
os << " </DataArray>\n";
}

View File

@ -90,7 +90,7 @@ discoverInfiniteComponent(const CDT & ct)
{
Face_handle fi = fh->neighbor(i);
if(fi->is_in_domain()
&& !ct.is_constrained(CDT::Edge(fh,i)))
&& !ct.is_constrained(CDT::Edge(fh,i)))
queue.push_back(fi);
}
}
@ -270,7 +270,7 @@ MainWindow::MainWindow()
dgi->setFacesInDomainBrush(facesColor);
QObject::connect(this, SIGNAL(changed()),
dgi, SLOT(modelChanged()));
dgi, SLOT(modelChanged()));
dgi->setVerticesPen(
QPen(Qt::red, 2, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
dgi->setVoronoiPen(
@ -286,7 +286,7 @@ MainWindow::MainWindow()
// the signal/slot mechanism
pi = new CGAL::Qt::GraphicsViewPolylineInput<K>(this, &scene, 0, true); // inputs polylines which are not closed
QObject::connect(pi, SIGNAL(generate(CGAL::Object)),
this, SLOT(processInput(CGAL::Object)));
this, SLOT(processInput(CGAL::Object)));
tcc = new CGAL::Qt::TriangulationCircumcircle<CDT>(&scene, &cdt, this);
tcc->setPen(QPen(Qt::red, 0, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
@ -299,7 +299,7 @@ MainWindow::MainWindow()
// Manual handling of actions
//
QObject::connect(this->actionQuit, SIGNAL(triggered()),
this, SLOT(close()));
this, SLOT(close()));
// We put mutually exclusive actions in an QActionGroup
QActionGroup* ag = new QActionGroup(this);
@ -339,7 +339,7 @@ MainWindow::MainWindow()
this->addRecentFiles(this->menuFile, this->actionQuit);
connect(this, SIGNAL(openRecentFile(QString)),
this, SLOT(open(QString)));
this, SLOT(open(QString)));
}
@ -535,11 +535,11 @@ void
MainWindow::on_actionLoadConstraints_triggered()
{
QString fileName = QFileDialog::getOpenFileName(this,
tr("Open Constraint File"),
".",
tr("Edge files (*.edg);;"
tr("Open Constraint File"),
".",
tr("Edge files (*.edg);;"
"Plg files (*.plg);;"
"Poly files (*.poly)"));
"Poly files (*.poly)"));
open(fileName);
}
@ -656,10 +656,10 @@ void
MainWindow::on_actionSaveConstraints_triggered()
{
QString fileName = QFileDialog::getSaveFileName(this,
tr("Save Constraints"),
".",
tr("Poly files (*.poly)\n"
"Edge files (*.edg)\n"
tr("Save Constraints"),
".",
tr("Poly files (*.poly)\n"
"Edge files (*.edg)\n"
"VTU files (*.vtu)"));
if(! fileName.isEmpty()){
saveConstraints(fileName);
@ -804,14 +804,14 @@ MainWindow::on_actionInsertRandomPoints_triggered()
bool ok = false;
const int number_of_points =
QInputDialog::getInt(this,
tr("Number of random points"),
tr("Enter number of random points"),
100,
0,
(std::numeric_limits<int>::max)(),
1,
&ok);
QInputDialog::getInt(this,
tr("Number of random points"),
tr("Enter number of random points"),
100,
0,
(std::numeric_limits<int>::max)(),
1,
&ok);
if(!ok) {
return;

View File

@ -63,10 +63,10 @@ Release date: March 2019
`Arr_polycurve_basic_traits_2`.
### 2D and 3D Mesh Generation
- Added 3 functions for writing in modern VTK formats:
-`CGAL::output_to_vtu()`
-`CGAL::write_VTU()`
-`CGAL::write_VTP()`
- Added 3 functions for writing in XML VTK formats:
- `CGAL::output_to_vtu()`
- `CGAL::write_VTU()`
- `CGAL::write_VTP()`
### CGAL and the Boost Graph Library (BGL)

View File

@ -13,6 +13,6 @@ namespace CGAL{
//!
template <class C3T3>
void output_to_vtu(std::ostream& os,
const C3T3& c3t3,
bool binary = true);
const C3T3& c3t3,
bool binary = true);
}