#include <contoursIntersection.h>
Public Member Functions | |
| contoursIntersection () | |
| ~contoursIntersection () | |
| double | Slope (double x0, double y0, double x1, double y1) |
| double | Normal (double x0, double y0, double *m, double xi) |
| void | Intersection (double x01, double y01, double x02, double y02, double mn, double m2, double *x, double *y) |
| void | SetContour1 (std::vector< double > *InX1, std::vector< double > *InY1, std::vector< double > *InZ1) |
| void | SetContour2 (std::vector< double > *InX2, std::vector< double > *InY2, std::vector< double > *InZ2) |
| void | InterBetweenContours (std::vector< double > *OutX, std::vector< double > *OutY, std::vector< double > *OutZ) |
| void | PossibleIntersections (std::vector< double > *OutX, std::vector< double > *OutY, std::vector< double > *OutZ) |
| void | IntersectionPoints (std::vector< double > *OutX, std::vector< double > *OutY, std::vector< double > *OutZ) |
| void | SetErrorParameter (double val) |
| int | GetErrorBetweenContours (double error) |
Private Attributes | |
| std::vector< double > | _InX1 |
| std::vector< double > | _InY1 |
| std::vector< double > | _InZ1 |
| std::vector< double > | _InX2 |
| std::vector< double > | _InY2 |
| std::vector< double > | _InZ2 |
Definition at line 6 of file contoursIntersection.h.
| contoursIntersection::contoursIntersection | ( | ) |
| contoursIntersection::~contoursIntersection | ( | ) |
| double contoursIntersection::Slope | ( | double | x0, | |
| double | y0, | |||
| double | x1, | |||
| double | y1 | |||
| ) |
| double contoursIntersection::Normal | ( | double | x0, | |
| double | y0, | |||
| double * | m, | |||
| double | xi | |||
| ) |
Definition at line 18 of file contoursIntersection.cxx.
00019 { 00020 double y; 00021 *m = -(1/(*m)); 00022 y = ((*m)*(xi - x0)) + y0; 00023 return y; 00024 }
| void contoursIntersection::Intersection | ( | double | x01, | |
| double | y01, | |||
| double | x02, | |||
| double | y02, | |||
| double | mn, | |||
| double | m2, | |||
| double * | x, | |||
| double * | y | |||
| ) |
| void contoursIntersection::SetContour1 | ( | std::vector< double > * | InX1, | |
| std::vector< double > * | InY1, | |||
| std::vector< double > * | InZ1 | |||
| ) |
| void contoursIntersection::SetContour2 | ( | std::vector< double > * | InX2, | |
| std::vector< double > * | InY2, | |||
| std::vector< double > * | InZ2 | |||
| ) |
| void contoursIntersection::InterBetweenContours | ( | std::vector< double > * | OutX, | |
| std::vector< double > * | OutY, | |||
| std::vector< double > * | OutZ | |||
| ) |
| void contoursIntersection::PossibleIntersections | ( | std::vector< double > * | OutX, | |
| std::vector< double > * | OutY, | |||
| std::vector< double > * | OutZ | |||
| ) |
| void contoursIntersection::IntersectionPoints | ( | std::vector< double > * | OutX, | |
| std::vector< double > * | OutY, | |||
| std::vector< double > * | OutZ | |||
| ) |
| void contoursIntersection::SetErrorParameter | ( | double | val | ) |
| int contoursIntersection::GetErrorBetweenContours | ( | double | error | ) |
std::vector<double> contoursIntersection::_InX1 [private] |
Definition at line 42 of file contoursIntersection.h.
std::vector<double> contoursIntersection::_InY1 [private] |
Definition at line 43 of file contoursIntersection.h.
std::vector<double> contoursIntersection::_InZ1 [private] |
Definition at line 44 of file contoursIntersection.h.
std::vector<double> contoursIntersection::_InX2 [private] |
Definition at line 45 of file contoursIntersection.h.
std::vector<double> contoursIntersection::_InY2 [private] |
Definition at line 46 of file contoursIntersection.h.
std::vector<double> contoursIntersection::_InZ2 [private] |
Definition at line 47 of file contoursIntersection.h.
1.5.3