boost::geometry::model::point
point.hpp
typename CoordinateType CoordinateType
std::size_t DimensionCount DimensionCount
typename CoordinateSystem CoordinateSystem
@0
cs_check
sizeof(CoordinateSystem)
CoordinateType CoordinateType boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::m_values[DimensionCount] [DimensionCount] m_values
boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::BOOST_MPL_ASSERT_MSG
((DimensionCount >=1), DIMENSION_GREATER_THAN_ZERO_EXPECTED,(boost::mpl::int_< DimensionCount >))
BOOST_MPL_ASSERT_MSG
(DimensionCount >=1)
DIMENSION_GREATER_THAN_ZERO_EXPECTED
(boost::mpl::int_< DimensionCount >)
std::size_t K K
CoordinateType const & CoordinateType const& boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::get () const get

Get a coordinate.

K

coordinate to get

the coordinate

boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::point
()
point

Default constructor, no initialization.

boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::point
(CoordinateType const &v0)
point
CoordinateType const & v0

Constructor to set one value.

boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::point
(CoordinateType const &v0, CoordinateType const &v1)
point
CoordinateType const & v0
CoordinateType const & v1

Constructor to set two values.

boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::point
(CoordinateType const &v0, CoordinateType const &v1, CoordinateType const &v2)
point
CoordinateType const & v0
CoordinateType const & v1
CoordinateType const & v2

Constructor to set three values.

std::size_t K K
void void boost::geometry::model::point< CoordinateType, DimensionCount, CoordinateSystem >::set (CoordinateType const &value) set CoordinateType const & value

Set a coordinate.

K

coordinate to set

value

value to set

Basic point class, having coordinates defined in a neutral way.

Defines a neutral point class, fulfilling the Point Concept. Library users can use this point class, or use their own point classes. This point class is used in most of the samples and tests of Boost.Geometry This point class is used occasionally within the library, where a temporary point class is necessary.

CoordinateType

numerical type (int, double, ttmath, ...)

DimensionCount

number of coordinates, usually 2 or 3

CoordinateSystem

coordinate system, for example cs::cartesian

[include reference/geometries/point.qbk] [heading Model of] [link geometry.reference.concepts.concept_point Point Concept]
- boost::geometry::model::point
  BOOST_MPL_ASSERT_MSG
- boost::geometry::model::point
  cs_check
- boost::geometry::model::point
  get
- boost::geometry::model::point
  m_values
- boost::geometry::model::point
  point
- boost::geometry::model::point
  point
- boost::geometry::model::point
  point
- boost::geometry::model::point
  point
- boost::geometry::model::point
  set