Boost.Geometry    Boost C++ Libraries
Public Member Functions | List of all members
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...

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

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen