Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
HO_homog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Baptiste Durand
HO_homog
Commits
711c0c2e
Commit
711c0c2e
authored
Jun 28, 2019
by
Baptiste Durand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Orientation correction for angle bisector
+ import correction
parent
d6b07947
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ho_homog/geometry/__init__.py
ho_homog/geometry/__init__.py
+1
-1
ho_homog/geometry/tools.py
ho_homog/geometry/tools.py
+1
-1
No files found.
ho_homog/geometry/__init__.py
View file @
711c0c2e
...
...
@@ -55,7 +55,7 @@ def set_gmsh_option(option, val):
logger
.
info
(
f
"Gmsh option
{
option
}
set to
{
val
}
(previously :
{
preval
}
)."
)
from
.curves
import
AbstractCurve
,
Arc
,
Line
,
bndry_logger
from
.curves
import
Curve
,
AbstractCurve
,
Arc
,
Line
,
bndry_logger
from
.physical
import
PhysicalGroup
from
.point
import
Point
from
.surfaces
import
(
...
...
ho_homog/geometry/tools.py
View file @
711c0c2e
...
...
@@ -73,7 +73,7 @@ def bisector(u, v):
"""
u_
,
v_
=
unit_vect
(
u
),
unit_vect
(
v
)
bis
=
np
.
cross
(
u_
-
v
_
,
E3
)
bis
=
np
.
cross
(
v_
-
u
_
,
E3
)
bis
=
unit_vect
(
bis
)
return
bis
...
...
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