Subject:
|
Re: calc_z4.c (Was: Math Problem Again)
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sun, 25 Oct 2009 20:28:59 GMT
|
Viewed:
|
17811 times
|
| |
| |
In lugnet.cad.dev, Tore Eriksson wrote:
> That shouldn't really be happening, unless someone enters a "triangle" that
> isn't a triangle, for example with x1, x2, and x3 all = 0, or a line that isn't
> referring to a polygon for some reason yet is processed as one.
Actually, if the original triangle is (for example) in the Y-Z plane, then just
passing in an x4 that's different from x1, x2, and x3 will result in a failure.
The equivalent goes for an initial triangle in the X-Z plane.
--Travis
|
|
Message has 1 Reply: | | Re: calc_z4.c (Was: Math Problem Again)
|
| (...) True, but such triangles will not be visible in the 2-D front view of the UI and therefor not clickable - unless the program is buggy. And if you can't click on them, the function never has to encounter data from them. Hopefully... /Tore (15 years ago, 26-Oct-09, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: calc_z4.c (Was: Math Problem Again)
|
| In lugnet.cad.dev, Timothy Gould wrote: // calc_z4 by Tore Eriksson // credits to Ronan Webb for the superb formula double calc_z4(double x1,double y1,double z1, double x2,double y2,double z2, double x3,double y3,double z3, double x4,double y4) { (...) (15 years ago, 23-Oct-09, to lugnet.cad.dev)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|