Searched refs:hyperplane (Results 1 - 5 of 5) sorted by relevance

/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h51 explicit ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim>& hyperplane);
85 Scalar intersection(const Hyperplane<_Scalar, _AmbientDim>& hyperplane);
120 /** Constructs a parametrized line from a 2D hyperplane
122 * \warning the ambient space must have dimension 2 such that the hyperplane actually describes a line
125 inline ParametrizedLine<_Scalar, _AmbientDim>::ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim>& hyperplane) argument
128 direction() = hyperplane.normal().unitOrthogonal();
129 origin() = -hyperplane.normal()*hyperplane.offset();
132 /** \returns the parameter value of the intersection between \c *this and the given hyperplane
135 inline _Scalar ParametrizedLine<_Scalar, _AmbientDim>::intersection(const Hyperplane<_Scalar, _AmbientDim>& hyperplane) argument
[all...]
/external/eigen/Eigen/src/Geometry/
H A DParametrizedLine.h62 explicit ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane);
99 Scalar intersectionParameter(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
102 Scalar intersection(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
105 VectorType intersectionPoint(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
140 /** Constructs a parametrized line from a 2D hyperplane
142 * \warning the ambient space must have dimension 2 such that the hyperplane actually describes a line
146 inline ParametrizedLine<_Scalar, _AmbientDim,_Options>::ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim,OtherOptions>& hyperplane) argument
149 direction() = hyperplane.normal().unitOrthogonal();
150 origin() = -hyperplane.normal()*hyperplane
[all...]
/external/eigen/test/eigen2/
H A Deigen2_regression.cpp17 HyperplaneType *hyperplane,
22 // pick a random hyperplane, store the coefficients of its equation
23 hyperplane->coeffs().resize(size + 1);
27 hyperplane->coeffs().coeffRef(j) = ei_random<Scalar>();
28 } while(ei_abs(hyperplane->coeffs().coeff(j)) < 0.5);
31 // now pick numPoints random points on this hyperplane
38 // project cur_point onto the hyperplane
39 Scalar x = - (hyperplane->coeffs().start(size).cwise()*cur_point).sum();
40 cur_point *= hyperplane->coeffs().coeff(size) / x;
15 makeNoisyCohyperplanarPoints(int numPoints, VectorType **points, HyperplaneType *hyperplane, typename VectorType::Scalar noiseAmplitude) argument
H A Deigen2_hyperplane.cpp16 template<typename HyperplaneType> void hyperplane(const HyperplaneType& _plane) function
119 CALL_SUBTEST_1( hyperplane(Hyperplane<float,2>()) );
120 CALL_SUBTEST_2( hyperplane(Hyperplane<float,3>()) );
121 CALL_SUBTEST_3( hyperplane(Hyperplane<double,4>()) );
122 CALL_SUBTEST_4( hyperplane(Hyperplane<std::complex<double>,5>()) );
/external/eigen/test/
H A Dgeo_hyperplane.cpp16 template<typename HyperplaneType> void hyperplane(const HyperplaneType& _plane) function
148 CALL_SUBTEST_1( hyperplane(Hyperplane<float,2>()) );
149 CALL_SUBTEST_2( hyperplane(Hyperplane<float,3>()) );
150 CALL_SUBTEST_2( hyperplane(Hyperplane<float,3,DontAlign>()) );
152 CALL_SUBTEST_3( hyperplane(Hyperplane<double,4>()) );
153 CALL_SUBTEST_4( hyperplane(Hyperplane<std::complex<double>,5>()) );

Completed in 118 milliseconds