MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009544 | VTK | (No Category) | public | 2009-09-15 11:16 | 2016-08-12 09:55 |
| Reporter | David Doria | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0009544: Vector projection function | ||||
| Description | I didn't see anything like this in vtkMath, does it exist somewhere else? Or can this be added somewhere? void Project(const double* A, const double* B, double* Projection) { //find the projection of A on B double scale = vtkMath::Dot(A,B)/pow(vtkMath::Norm(B), 2); for(unsigned int i = 0; i < 3; i++) Projection[i] = scale * B[i]; } A "ProjectVectorOnPlane" function would probably also be useful. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-09-15 11:16 | David Doria | New Issue | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037102 | |||
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||