30 #include <boost/shared_ptr.hpp>
32 #include "../../dataHandler/WGridRegular3D.h"
34 #include "linearAlgebra/WVectorFixed.h"
94 boost::shared_ptr< std::set< WPosition > > samplePoints(
const WGridRegular3D& grid,
double stepWidth );
105 WPosition getPointInPlane(
double x,
double y )
const;
135 void setNormal(
const WVector3d& normal )
137 m_normal = normalize( normal );
139 if( cross( normal, gen ) ==
WVector3d( 0, 0, 0 ) )
143 m_first = cross( normal, gen );
144 m_first = normalize( m_first );
145 m_second = cross( normal, m_first );
146 m_second = normalize( m_second );
170 boost::shared_ptr< std::set< WPosition > > samplePoints(
double stepWidth,
size_t numX,
size_t numY )
const;
181 inline const WPosition& WPlane::getPosition()
const
186 inline const WVector3d& WPlane::getNormal()
const
A grid that has parallelepiped cells which all have the same proportion.
This only is a 3d double vector.