Boost.Geometry    Boost C++ Libraries
Classes | Functions
transform: apply transformations on geometries

Classes

struct  boost::geometry::strategy::transform::copy_direct< P >
 Transformation strategy to copy one point to another using assignment operator. More...
 
struct  boost::geometry::strategy::transform::copy_per_coordinate< P1, P2 >
 Transformation strategy to do copy a point, copying per coordinate. More...
 
struct  boost::geometry::strategy::transform::degree_radian_vv< P1, P2, F >
 Transformation strategy to go from degree to radian and back. More...
 
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) More...
 
struct  boost::geometry::strategy::transform::from_cartesian_3_to_spherical_polar_3< P1, P2 >
 Transformation strategy for 3D cartesian (x,y,z) to 3D spherical (phi,theta,r) More...
 
struct  boost::geometry::strategy::transform::from_spherical_polar_2_to_cartesian_3< P1, P2 >
 Transformation strategy for 2D spherical (phi,theta) to 3D cartesian (x,y,z) More...
 
struct  boost::geometry::strategy::transform::from_spherical_polar_3_to_cartesian_3< P1, P2 >
 Transformation strategy for 3D spherical (phi,theta,r) to 3D cartesian (x,y,z) More...
 
struct  boost::geometry::strategy::transform::services::default_strategy< CoordinateSystemTag1, CoordinateSystemTag2, CoordinateSystem1, CoordinateSystem2, Dimension1, Dimension2, Point1, Point2 >
 Traits class binding a transformation strategy to a coordinate system. More...
 

Functions

template<typename Geometry1 , typename Geometry2 , typename Strategy >
bool boost::geometry::transform (Geometry1 const &geometry1, Geometry2 &geometry2, Strategy const &strategy)
 Transforms from one geometry to another geometry using the specified strategy. More...
 
template<typename Geometry1 , typename Geometry2 >
bool boost::geometry::transform (Geometry1 const &geometry1, Geometry2 &geometry2)
 Transforms from one geometry to another geometry using a strategy. More...
 

Detailed Description

Function Documentation

template<typename Geometry1 , typename Geometry2 , typename Strategy >
bool boost::geometry::transform ( Geometry1 const &  geometry1,
Geometry2 &  geometry2,
Strategy const &  strategy 
)

Transforms from one geometry to another geometry using the specified strategy.

Template Parameters
Geometry1Any type fulfilling a Geometry Concept
Geometry2Any type fulfilling a Geometry Concept
Strategystrategy
Parameters
geometry1A model of the specified concept
geometry2A model of the specified concept
strategyThe strategy to be used for transformation
Returns
True if the transformation could be done
Examples:
06_a_transformation_example.cpp, and 06_b_transformation_example.cpp.
template<typename Geometry1 , typename Geometry2 >
bool boost::geometry::transform ( Geometry1 const &  geometry1,
Geometry2 &  geometry2 
)

Transforms from one geometry to another geometry using a strategy.

Template Parameters
Geometry1Any type fulfilling a Geometry Concept
Geometry2Any type fulfilling a Geometry Concept
Parameters
geometry1A model of the specified concept
geometry2A model of the specified concept
Returns
True if the transformation could be done

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