Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
edu
mafe
Commits
e437a6dc
Commit
e437a6dc
authored
Oct 26, 2018
by
Andreas Zilian
Browse files
Make access to properties protected (accessible to children).
parent
88b01509
Changes
1
Hide whitespace changes
Inline
Side-by-side
+mgen/MgGeoLine3Point.m
View file @
e437a6dc
classdef
MgGeoLine3Point
<
mgen
.
MgGeoLine2Point
% A 3-point line of the geometry
properties
(
Access
=
private
)
geoPoints
=
mgen
.
MgGeoPoint
.
empty
(
0
,
3
);
gridNodes
=
mgen
.
MgGridNode
.
empty
(
0
,
0
);
properties
(
Access
=
protected
)
numTargetGridNodes
=
0
;
switchGridNode
=
false
;
switchGeoPoint
=
false
;
normFunction
=
mgen
.
MgNormFunction
();
end
methods
...
...
@@ -52,6 +44,10 @@ classdef MgGeoLine3Point < mgen.MgGeoLine2Point
end
function
setNumTargetGridNodes
(
self
,
num
)
% if num <= 3
% num = 3;
% end
%
self
.
numTargetGridNodes
=
num
;
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