File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,21 @@ namespace tubex
121
121
if (box.is_unbounded ())
122
122
return ;
123
123
124
- vibes::Params params_this_fig (params);
125
- m_view_box |= box;
126
- params_this_fig[" figure" ] = name ();
124
+ if (box.max_diam () == 0 .)
125
+ draw_point (Point (box), color, params);
127
126
128
- if (color != " " )
129
- vibes::drawBox (box, color, params_this_fig);
130
-
131
127
else
132
- vibes::drawBox (box, params_this_fig);
128
+ {
129
+ vibes::Params params_this_fig (params);
130
+ m_view_box |= box;
131
+ params_this_fig[" figure" ] = name ();
132
+
133
+ if (color != " " )
134
+ vibes::drawBox (box, color, params_this_fig);
135
+
136
+ else
137
+ vibes::drawBox (box, params_this_fig);
138
+ }
133
139
}
134
140
135
141
void VIBesFig::draw_line (const vector<vector<double > >& v_pts, const vibes::Params& params)
You can’t perform that action at this time.
0 commit comments