libigl v2.5.0
Loading...
Searching...
No Matches
RemeshSelfIntersectionsParam.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_COPYLEFT_CGAL_REMESH_SELF_INTERSECTIONS_PARAM_H
9#define IGL_COPYLEFT_CGAL_REMESH_SELF_INTERSECTIONS_PARAM_H
10
11namespace igl
12{
13 namespace copyleft
14 {
15 namespace cgal
16 {
21 {
35 int cutoff;
37 bool _detect_only=false,
38 bool _first_only=false,
39 bool _stitch_all=false,
40 bool _slow_and_more_precise_rounding=false,
41 int _cutoff=1000
42 ):
43 detect_only(_detect_only),
44 first_only(_first_only),
45 stitch_all(_stitch_all),
46 slow_and_more_precise_rounding(_slow_and_more_precise_rounding),
47 cutoff(_cutoff)
48 {};
49 };
50 }
51 }
52}
53
54#endif
Definition AABB.h:17
Parameters for SelfIntersectMesh, remesh_self_intersections and remesh_intersections,...
Definition RemeshSelfIntersectionsParam.h:21
bool slow_and_more_precise_rounding
whether to use slow and more precise rounding (see assign_scalar)
Definition RemeshSelfIntersectionsParam.h:31
RemeshSelfIntersectionsParam(bool _detect_only=false, bool _first_only=false, bool _stitch_all=false, bool _slow_and_more_precise_rounding=false, int _cutoff=1000)
Definition RemeshSelfIntersectionsParam.h:36
bool detect_only
avoid constructing intersections results when possible
Definition RemeshSelfIntersectionsParam.h:23
bool stitch_all
whether to stitch all resulting constructed elements into a (non-manifold) mesh
Definition RemeshSelfIntersectionsParam.h:29
int cutoff
cutoff parameter for box_self_intersection_d (based on some casual testing 1000 works better than 1,...
Definition RemeshSelfIntersectionsParam.h:35
bool first_only
return after detecting the first intersection (if first_only==true, then detect_only should also be t...
Definition RemeshSelfIntersectionsParam.h:26