123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- [/============================================================================
- Boost.Geometry (aka GGL, Generic Geometry Library)
- Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
- Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
- Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
- Use, modification and distribution is subject to the Boost Software License,
- Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- =============================================================================/]
- [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
- [/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1model_1_1d2_1_1point__xy.xml]
- [section:model_d2_point_xy model::d2::point_xy]
- '''<indexterm><primary>model</primary></indexterm><indexterm><primary>d2</primary></indexterm><indexterm><primary>point_xy</primary></indexterm>'''
- 2D point in Cartesian coordinate system
- [heading Model of]
- [link geometry.reference.concepts.concept_point Point Concept]
- [heading Synopsis]
- ``template<typename CoordinateType, typename CoordinateSystem>
- class model::d2::point_xy
- : public model::point< CoordinateType, 2, CoordinateSystem >
- {
- // ...
- };
- ``
- [heading Template parameter(s)]
- [table
- [[Parameter] [Default] [Description]]
- [[typename CoordinateType] [] [numeric type, for example, double, float, int ]]
- [[typename CoordinateSystem] [cs::cartesian] [coordinate system, defaults to cs::cartesian]]
- ]
- [heading Constructor(s)]
- [table
- [[Function] [Description] [Parameters] ]
- [[``point_xy()``
- ] [Default constructor, no initialization. ] [
- ]]
- [[``point_xy(CoordinateType const & x, CoordinateType const & y)``
- ] [Constructor with x/y values. ] [[* CoordinateType const &]: ['x]:
- [* CoordinateType const &]: ['y]:
- ]]
- ]
- [heading Member Function(s)]
- [table
- [[Function] [Description] [Parameters] [Returns]]
- [[``CoordinateType const & x()``
- ] [Get x-value. ] [
- ][
- ]
- ]
- [[``CoordinateType const & y()``
- ] [Get y-value. ] [
- ][
- ]
- ]
- [[``void x(CoordinateType const & v)``
- ] [Set x-value. ] [[* CoordinateType const &]: ['v]:
- ][
- ]
- ]
- [[``void y(CoordinateType const & v)``
- ] [Set y-value. ] [[* CoordinateType const &]: ['v]:
- ][
- ]
- ]
- ]
- [heading Header]
- `#include <boost/geometry/geometries/point_xy.hpp>`
- [include reference/geometries/point_xy.qbk]
- [include reference/geometries/point_assign_warning.qbk]
- [endsect]
|