Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
ab420d85
Commit
ab420d85
authored
Aug 01, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Applying name change in edge type
parent
9e6c7be2
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/SoundFieldSimulation/Diffraction/@itaFiniteWedge/itaFiniteWedge.m
View file @
ab420d85
...
...
@@ -13,15 +13,15 @@ classdef itaFiniteWedge < itaInfiniteWedge
end
methods
function
obj
=
itaFiniteWedge
(
main_face_normal
,
opposite_face_normal
,
location
,
length
,
w
edge_type
)
function
obj
=
itaFiniteWedge
(
main_face_normal
,
opposite_face_normal
,
location
,
length
,
edge_type
)
% Creates an finite wedge with a location in 3-dim space
% Starting point of wedge aperture is the wedge location, end
% point is defined by length and direction of aperture
% Length must be a scalar value greater zero
if
nargin
<
5
w
edge_type
=
'
w
edge'
;
edge_type
=
'
outer_
edge'
;
end
obj
@
itaInfiniteWedge
(
main_face_normal
,
opposite_face_normal
,
location
,
w
edge_type
);
obj
@
itaInfiniteWedge
(
main_face_normal
,
opposite_face_normal
,
location
,
edge_type
);
if
numel
(
length
)
>
1
||
length
<=
0
error
'Length must be a scalar value greater zero'
end
...
...
Write
Preview
Supports
Markdown
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