Commit e437a6dc authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Make access to properties protected (accessible to children).

parent 88b01509
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment