Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
3rd
tetgen
Commits
8c47316e
Commit
8c47316e
authored
4 years ago
by
Jie Cao@格宇
Browse files
Options
Download
Email Patches
Plain Diff
hot fix
parent
31cda8e1
master
AP/cj/exe
AP/master/exe
develop/cj
huawei/master
hw/master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tetgen/tetgen.cxx
+1
-1
tetgen/tetgen.cxx
tetgenext.cxx
+2
-0
tetgenext.cxx
with
3 additions
and
1 deletion
+3
-1
tetgen/tetgen.cxx
View file @
8c47316e
...
...
@@ -32482,7 +32482,7 @@ void tetrahedralize(char *switches, tetgenio *in, tetgenio *out,
//int argc = 3;
//std::string argv[3] = { "aaa","E:/BLcode/Hi-vcad/data/json/5245-18c6-49b5-ba91/tetgen_0.json","E:/BLcode/Hi-vcad/data/json/5245-18c6-49b5-ba91/tetgen_1.json" };
if (argc>1) {
//
DebugMessageBox("please attach %s", argv[0]);
DebugMessageBox("please attach %s", argv[0]);
std::string argv1 = argv[1];
int pos = argv1.find_last_of('.');
if (argv1.substr(pos) == ".json") {
This diff is collapsed.
Click to expand it.
tetgenext.cxx
View file @
8c47316e
...
...
@@ -237,6 +237,7 @@ namespace TETGEN_EXT {
return
ss
.
str
();
}
ss
<<
"Ypni"
;
//ss << "pni"; //for tetrefine.
if
(
meshCtrl
.
empty
())
{
ss
<<
"q1.2CC"
;
return
ss
.
str
();
...
...
@@ -984,6 +985,7 @@ namespace TETGEN_EXT {
std
::
stringstream
os
;
ScopedRedirect
redirect
;
tetgenio
::
gPrintFun
=
MyPrintFun
;
tetgenio
tetIn
,
out
,
addin
;
Json
::
Value
jsonObj
;
tetgenbehavior
b
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help