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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nico Schlömer
gmsh
Commits
9157f520
Commit
9157f520
authored
8 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
refactoring
parent
a780a271
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geo/GModelIO_OCC.h
+19
-19
19 additions, 19 deletions
Geo/GModelIO_OCC.h
with
19 additions
and
19 deletions
Geo/GModelIO_OCC.h
+
19
−
19
View file @
9157f520
...
...
@@ -78,6 +78,25 @@ class OCC_Internals {
// iterate on all bound entities and recompute the maximum tag
void
_recomputeMaxTag
(
int
dim
);
// bind (potentially) mutliple entities in shape and return the tags in
// outTags. If tag > 0 and a single entity if found, use that; if
// highestDimOnly is true, only return the entities of the highest dimension
void
_multiBind
(
TopoDS_Shape
shape
,
int
tag
,
std
::
vector
<
std
::
pair
<
int
,
int
>
>
&
outDimTags
,
bool
returnHighestDimOnly
,
bool
recursive
=
false
,
bool
returnNewOnly
=
false
);
// is the entity of a given dimension and tag bound?
bool
_isBound
(
int
dim
,
int
tag
);
// is the entity of a given dimension and shape bound?
bool
_isBound
(
int
dim
,
TopoDS_Shape
shape
);
// get the entity of a given dimension and tag
TopoDS_Shape
_find
(
int
dim
,
int
tag
);
// get the tag of a shape of a given dimension
int
_find
(
int
dim
,
TopoDS_Shape
shape
);
// make shapes
bool
_makeRectangle
(
TopoDS_Face
&
result
,
double
x
,
double
y
,
double
z
,
double
dx
,
double
dy
,
double
roundedRadius
=
0.
);
...
...
@@ -138,25 +157,6 @@ class OCC_Internals {
void
_copyExtrudedMeshAttr
(
TopoDS_Edge
edge
,
GEdge
*
ge
);
void
_copyExtrudedMeshAttr
(
TopoDS_Face
face
,
GFace
*
gf
);
void
_copyExtrudedMeshAttr
(
TopoDS_Solid
solid
,
GRegion
*
gr
);
// bind (potentially) mutliple entities in shape and return the tags in
// outTags. If tag > 0 and a single entity if found, use that; if
// highestDimOnly is true, only return the entities of the highest dimension
void
_multiBind
(
TopoDS_Shape
shape
,
int
tag
,
std
::
vector
<
std
::
pair
<
int
,
int
>
>
&
outDimTags
,
bool
returnHighestDimOnly
,
bool
recursive
=
false
,
bool
returnNewOnly
=
false
);
// is the entity of a given dimension and tag bound?
bool
_isBound
(
int
dim
,
int
tag
);
// is the entity of a given dimension and shape bound?
bool
_isBound
(
int
dim
,
TopoDS_Shape
shape
);
// get the entity of a given dimension and tag
TopoDS_Shape
_find
(
int
dim
,
int
tag
);
// get the tag of a shape of a given dimension
int
_find
(
int
dim
,
TopoDS_Shape
shape
);
public
:
OCC_Internals
();
...
...
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