Unexpected behavior in Rhino.Geometry.Plane(a,b,c,d)

Rhino.Common documents said Rhino.Geometry.Plane(a,b,c,d) creates ax+by+cz=d, but, it seems like to create 1/N(ax+by+cz)=d, where N=Sqrt(a*a+b*b+c*c).

The problem is, d is not divided by N. When (a,b,c) is not normalized vector, the returned plane is different from expectation.

  • Masaaki Miki

    It was not (ax+by+cz)=d but (ax+by+cz+d)=0. (a b c) is always normalized so that Plane(a,b,c,d) doesn't create (ax+by+cz+d)=0 but 1/N(ax+by+cz)+d=0