Boost.Geometry    Boost C++ Libraries
Public Member Functions
boost::geometry::strategy::buffer::distance_asymmetric< NumericType > Class Template Reference

Let the buffer for linestrings be asymmetric. More...

List of all members.

Public Member Functions

 distance_asymmetric (NumericType const &left, NumericType const &right)
 Constructs the strategy, two distances must be specified.

Detailed Description

template<typename NumericType>
class boost::geometry::strategy::buffer::distance_asymmetric< NumericType >

Let the buffer for linestrings be asymmetric.

Template Parameters:
NumericTypenumerical type (int, double, ttmath, ...)

This strategy can be used as DistanceStrategy for the buffer algorithm. It can be applied for (multi)linestrings. It uses a (potentially) different distances for left and for right. This means the (multi)linestrings are interpreted having a direction.


Constructor & Destructor Documentation

template<typename NumericType >
boost::geometry::strategy::buffer::distance_asymmetric< NumericType >::distance_asymmetric ( NumericType const &  left,
NumericType const &  right 
)

Constructs the strategy, two distances must be specified.

Parameters:
leftThe distance (or radius) of the buffer on the left side
rightThe distance on the right side

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