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
Larry Price
gmsh
Commits
217997df
Commit
217997df
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
367c5a7f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geo/GModelFactory.cpp
+19
-18
19 additions, 18 deletions
Geo/GModelFactory.cpp
with
19 additions
and
18 deletions
Geo/GModelFactory.cpp
+
19
−
18
View file @
217997df
...
@@ -184,7 +184,8 @@ GEdge *OCCFactory::addNURBS(GModel *gm, GVertex *start, GVertex *end,
...
@@ -184,7 +184,8 @@ GEdge *OCCFactory::addNURBS(GModel *gm, GVertex *start, GVertex *end,
(
ctrlPoints
,
_weights
,
_knots
,
_mult
,
degree
,
false
);
(
ctrlPoints
,
_weights
,
_knots
,
_mult
,
degree
,
false
);
TopoDS_Edge
occEdge
;
TopoDS_Edge
occEdge
;
if
(
occv1
&&
occv2
)
if
(
occv1
&&
occv2
)
occEdge
=
BRepBuilderAPI_MakeEdge
(
NURBS
,
occv1
->
getShape
(),
occv2
->
getShape
()).
Edge
();
occEdge
=
BRepBuilderAPI_MakeEdge
(
NURBS
,
occv1
->
getShape
(),
occv2
->
getShape
()).
Edge
();
else
else
occEdge
=
BRepBuilderAPI_MakeEdge
(
NURBS
).
Edge
();
occEdge
=
BRepBuilderAPI_MakeEdge
(
NURBS
).
Edge
();
return
gm
->
_occ_internals
->
addEdgeToModel
(
gm
,
occEdge
);
return
gm
->
_occ_internals
->
addEdgeToModel
(
gm
,
occEdge
);
...
...
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