|
BoundingBox3IsDegenerate Method
|
Determines whether a bounding box is degenerate (flat) in one or more directions.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int IsDegenerate(
double tolerance
)
Public Function IsDegenerate (
tolerance As Double
) As Integer
public:
int IsDegenerate(
double tolerance
)
member IsDegenerate :
tolerance : float -> int
Parameters
- tolerance
- Type: SystemDouble
Distances <= tolerance will be considered to be zero.
Return Value
Type:
Int32
0 = box is not degenerate
1 = box is a rectangle (degenerate in one direction).
2 = box is a line (degenerate in two directions).
3 = box is a point (degenerate in three directions)
4 = box is not valid.
See Also