summaryrefslogtreecommitdiff
path: root/libs/geometry/doc/reference/algorithms/is_valid_with_message.qbk
blob: d0087cf0154b19ecd9c929a0e5e638ed3678290b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[/============================================================================
  Boost.Geometry (aka GGL, Generic Geometry Library)

  Copyright (c) 2015, Oracle and/or its affiliates.

  Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle

  Licensed under the Boost Software License version 1.0.
  http://www.boost.org/users/license.html
=============================================================================/]

[def __this_function__ is_valid]

[heading_conformance_no_ogc __this_function__]

[include reference/status/is_valid_status.qbk]

[heading Complexity]
Constant-time for points, segments, boxes and multi-points

Linear for linestrings and multi-linestrings

Linearithmic for rings

Currently, worst-case quadratic for polygons and multi-polygons

[heading Example]
[is_valid_message]
[is_valid_message_output]

[heading See also]
* [link geometry.reference.algorithms.is_simple is_simple]