Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8557

RhinoCommon C# Plane equation

$
0
0

@savage wrote:

The C# Plane constructor with four double arguments (API link) states it “Constructs a plane from an equation ax+by+cz=d.” However, it appears to actually construct a plane for ax+by+cz+d=0, reversing the sign of d. Is this a mistake in the documentation?

I am attaching a grasshopper script that constructs a plane with a=0, b=0, c=1, d=h, which should give a plane z=h (h is adjustable). Instead, as the elevation (h) is increased, the plane is lowered, consistent with z+h=0.

PlaneEquation.3dm (50.9 KB)
PlaneEquation.gh (2.7 KB)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8557

Trending Articles