Add const on double* in vtkBox::IntersectBox and int* version for vtkPolygon::ComputeNormal
-
const double*
parameter instead ofdouble*
invtkBox::IntersectBox
-
vtkCell3D::GetFacePoints
writes point ids asint*
, andvtkPolygon::ComputeNormal
takes ids asvtkIdType*
, which makes it impossible to use without first copying the arrayint[]
into another arrayvtkIdType[]
. This MR adds a version ofvtkPolygon::ComputeNormal
withint*
parameter, as well as an overload handlingstd::nullptr_t
parameters, as the original method did handle anullptr
input.