[vtkusers] vtkPlane functions

Mitchell, John A jamitch at sandia.gov
Thu Dec 23 15:27:43 EST 2010


I'm wondering if the following functions on vtkPlane could promise not to change the input data by making them 'const'?

static int      IntersectWithLine (double p1[3], double p2[3], double n[3], double p0[3], double &t, double x[3])
int     IntersectWithLine (double p1[3], double p2[3], double &t, double x[3])

PROPOSED ADDITIONS:
static int      IntersectWithLine (const double p1[3], const double p2[3], const double n[3], const double p0[3], double &t, double x[3])
int     IntersectWithLine (const double p1[3], const double p2[3], double &t, double x[3])


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101223/b70da5d9/attachment.htm>


More information about the vtkusers mailing list