Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
753a7e68
Commit
753a7e68
authored
8 years ago
by
Van Dung Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
fix compile without OCC
parent
4b9e3607
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Geo/GModelIO_OCC.cpp
+5
-0
5 additions, 0 deletions
Geo/GModelIO_OCC.cpp
Geo/GModelIO_OCC.h
+6
-0
6 additions, 0 deletions
Geo/GModelIO_OCC.h
with
11 additions
and
0 deletions
Geo/GModelIO_OCC.cpp
+
5
−
0
View file @
753a7e68
...
@@ -1558,4 +1558,9 @@ GRegion* GModel::getRegionForOCCShape(const void *shape)
...
@@ -1558,4 +1558,9 @@ GRegion* GModel::getRegionForOCCShape(const void *shape)
return
0
;
return
0
;
}
}
int
GModel
::
importOCCInternals
(){
Msg
::
Error
(
"Gmsh must be compiled with Open CASCADE support to query OCC shape"
);
return
0
;
}
#endif
#endif
This diff is collapsed.
Click to expand it.
Geo/GModelIO_OCC.h
+
6
−
0
View file @
753a7e68
...
@@ -103,8 +103,14 @@ public:
...
@@ -103,8 +103,14 @@ public:
OCC_Internals
(){}
OCC_Internals
(){}
void
addVertex
(
int
tag
,
double
x
,
double
y
,
double
z
){}
void
addVertex
(
int
tag
,
double
x
,
double
y
,
double
z
){}
void
addCircleArc
(
int
tag
,
int
tagStart
,
int
tagCenter
,
int
tagEnd
){}
void
addCircleArc
(
int
tag
,
int
tagStart
,
int
tagCenter
,
int
tagEnd
){}
void
addSphere
(
int
tag
,
double
xc
,
double
yc
,
double
zc
,
double
radius
){};
void
addThruSections
(
int
tag
,
std
::
vector
<
std
::
vector
<
int
>
>
tagEdges
){}
void
addThruSections
(
int
tag
,
std
::
vector
<
std
::
vector
<
int
>
>
tagEdges
){}
void
importOCCInternals
(
GModel
*
model
){}
void
importOCCInternals
(
GModel
*
model
){}
void
applyBooleanOperator
(
int
tag
,
std
::
vector
<
int
>
shapeTags
[
4
],
std
::
vector
<
int
>
toolTags
[
4
],
BooleanOperator
op
,
bool
removeShape
=
true
,
bool
removeTool
=
true
){};
};
};
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment