View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
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. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037102) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |