PlaneTryNormalize Method |
Namespace: DigitalRune.Geometry.Shapes
Most operations require a plane to be normalized, i.e. the normal must be a unit vector. But certain operations may return a general plane which is not normalized. In these cases this method can be called to re-normalize the plane.
Normalizing a plane means that the Normal and DistanceFromOrigin are multiplied by the same scale factor to get a normalized plane normal.