Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::strategy::transform::from_cartesian_3_to_spherical_polar_2< P1, P2 > Struct Template Reference

Transformation strategy for 3D cartesian (x,y,z) to 2D spherical (phi,theta) More...

#include <strategy_transform.hpp>

Public Member Functions

bool apply (P1 const &p1, P2 &p2) const
 

Detailed Description

template<typename P1, typename P2>
struct boost::geometry::strategy::transform::from_cartesian_3_to_spherical_polar_2< P1, P2 >

Transformation strategy for 3D cartesian (x,y,z) to 2D spherical (phi,theta)

on Unit sphere

Template Parameters
P1first point type
P2second point type
Note
If x,y,z point is not lying on unit sphere, transformation will return false

Member Function Documentation

template<typename P1 , typename P2 >
bool boost::geometry::strategy::transform::from_cartesian_3_to_spherical_polar_2< P1, P2 >::apply ( P1 const &  p1,
P2 &  p2 
) const
inline

The documentation for this struct was generated from the following file: