![]() |
![]() |
Functions | |
template<typename Geometry , typename Type > | |
Geometry | boost::geometry::make (Type const &c1, Type const &c2) |
Construct a geometry. More... | |
template<typename Geometry , typename Type > | |
Geometry | boost::geometry::make (Type const &c1, Type const &c2, Type const &c3) |
Construct a geometry. More... | |
template<typename Geometry > | |
Geometry | boost::geometry::make_inverse () |
Construct a box with inverse infinite coordinates. More... | |
template<typename Geometry > | |
Geometry | boost::geometry::make_zero () |
Construct a geometry with its coordinates initialized to zero. More... | |
Geometry boost::geometry::make | ( | Type const & | c1, |
Type const & | c2 | ||
) |
Construct a geometry.
Geometry | Any type fulfilling a Geometry Concept |
Type | numerical type (int, double, ttmath, ...) to specify the coordinates |
c1 | First coordinate (usually x-coordinate) |
c2 | Second coordinate (usually y-coordinate) |
Geometry boost::geometry::make | ( | Type const & | c1, |
Type const & | c2, | ||
Type const & | c3 | ||
) |
Construct a geometry.
Geometry | Any type fulfilling a Geometry Concept |
Type | numerical type (int, double, ttmath, ...) to specify the coordinates |
c1 | First coordinate (usually x-coordinate) |
c2 | Second coordinate (usually y-coordinate) |
c3 | Third coordinate (usually z-coordinate) |
Geometry boost::geometry::make_inverse | ( | ) |
Construct a box with inverse infinite coordinates.
The make_inverse function initializes a 2D or 3D box with large coordinates, the min corner is very large, the max corner is very small. This is useful e.g. in combination with the expand function, to determine the bounding box of a series of geometries.
Geometry | Any type fulfilling a Geometry Concept |
Geometry boost::geometry::make_zero | ( | ) |
Construct a geometry with its coordinates initialized to zero.
The make_zero function initializes a 2D or 3D point or box with coordinates of zero
Geometry | Any type fulfilling a Geometry Concept |
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 |