We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2baaf83 commit b879405Copy full SHA for b879405
getVertices.m
@@ -45,8 +45,10 @@
45
vertices = userdata.surface.triRep.X;
46
elseif isa(userdata.surface.triRep, 'triangulation')
47
vertices = userdata.surface.triRep.Points;
48
+elseif isa(userdata.surface.triRep, 'struct')
49
+ vertices = userdata.surface.triRep.X;
50
else
- error('OPENEP/getVertices: userdata.surface.TriRep should be a TriRep or a triangulation object')
51
+ error('OPENEP/getVertices: userdata.surface.TriRep should be a Structure, TriRep or a triangulation object')
52
end
53
[~, isVertUsed] = repack(getMesh(userdata));
54
0 commit comments