Article | 60001740 |
Type | Bug |
Product | Engine |
Version | 6022 |
Date Added | 6/22/2012 |
Fixed | Yes [6/22/2012] |
Submitted by | Graham Parker |
Keywords |
Interpolation of Point to a triangle returns wrong result
example:
gTriangle t = new gTriangle( new gPoint(606298.804, 7654031.64, 2299.0), new gPoint(606298.056, 7654031.368, 2297.0), new gPoint(606298.831, 7654032.062, 2300.0)
);
gPoint pt = new gPoint(606298.3517599972D, 7654031.5019632708D, 0.0); gPoint intercept = new gPoint(pt.x, pt.y, t.InterpolatePoint(pt));//return wrong z value