Commit b7469068 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Clamp MaximumRadius within positive range

Change-Id: Ibd53f5a77d0f9aeeb66661b012db53c6d946932c
parent 76ee23c7
......@@ -73,7 +73,7 @@ public:
// Description:
// Set/Get the maximum radius of the polar coordinates.
// Default: VTK_DOUBLE_MAX
vtkSetMacro( MaximumRadius, double );
vtkSetClampMacro( MaximumRadius, double, 0., VTK_DOUBLE_MAX );
vtkGetMacro( MaximumRadius, double );
// Description:
......
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