Valid

Namespace: Digi21.Math
Assembly: Digi21.DigiNG

Indicates whether the window is initialized and its bounds are ordered.

bool Valid { get; }

Property value

bool. In Window3D, true if Xmin is not null, Xmin <= Xmax, Ymin <= Ymax and Zmin <= Zmax. The property does not throw exceptions.

A Window3D with non-null Xmin and a minimum greater than its maximum has Valid set to false, but Width, Height, Depth and the cardinal points do not throw an exception: they return values calculated from those bounds, such as a negative width.

Back to IWindow3D.