View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016753VTK(No Category)public2016-06-23 08:222016-07-06 12:48
ReporterPaul Melis 
Assigned ToAndy Bauer 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version7.1.0 
Summary0016753: Improve docs for vtkPointSet::GetPoint(id)
Descriptiondouble *vtkPointSet::GetPoint(vtkIdType id) does {return this->Points->GetPoint(ptId);};

The docs for vtkPoints::GetPoint(id) include a nice warning about not depending on the returned pointer across calls. However, the docs for double *vtkPointSet::GetPoint(vtkIdType id) show no such warning and I assumed (my bad) that the call simply returned a pointer inside the points array. So I ended up wasting almost a day trying to understand why some surfacing code I was refactoring (which included adding extra calls to GetPoint) did not work anymore :-/

TagsNo tags attached.
ProjectTBD
Typedocumentation
Attached Files

 Relationships

  Notes
(0036170)
Andy Bauer (developer)
2016-07-06 10:50

In GitLab at https://gitlab.kitware.com/vtk/vtk/merge_requests/1620 [^]
(0036201)
Andy Bauer (developer)
2016-07-06 12:48

merged into master

 Issue History
Date Modified Username Field Change
2016-06-23 08:22 Paul Melis New Issue
2016-07-06 10:19 Andy Bauer Assigned To => Andy Bauer
2016-07-06 10:50 Andy Bauer Note Added: 0036170
2016-07-06 10:50 Andy Bauer Status backlog => active development
2016-07-06 12:48 Andy Bauer Note Added: 0036201
2016-07-06 12:48 Andy Bauer Status active development => closed
2016-07-06 12:48 Andy Bauer Resolution open => fixed
2016-07-06 12:48 Andy Bauer Fixed in Version => 7.1.0


Copyright © 2000 - 2018 MantisBT Team