File: handlebody.h

package info (click to toggle)
regina-normal 7.4.1-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 154,244 kB
  • sloc: cpp: 295,026; xml: 9,992; sh: 1,344; python: 1,225; perl: 616; ansic: 138; makefile: 26
file content (85 lines) | stat: -rw-r--r-- 2,469 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
  This file contains docstrings for use in the Python bindings.
  Do not edit! They were automatically extracted by ../gendoc.sh.
 */

#if defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

namespace regina::python::doc {


// Docstring regina::python::doc::Handlebody
static const char *Handlebody =
R"doc(Represents an orientable handlebody.

All optional Manifold routines are implemented for this class.

This class supports copying but does not implement separate move
operations, since its internal data is so small that copying is just
as efficient. It implements the C++ Swappable requirement via its own
member and global swap() functions, for consistency with the other
manifold classes.)doc";

namespace Handlebody_ {

// Docstring regina::python::doc::Handlebody_::__copy
static const char *__copy = R"doc(Creates a new copy of the given handlebody.)doc";

// Docstring regina::python::doc::Handlebody_::__eq
static const char *__eq =
R"doc(Determines whether this and the given handlebody have the same genus.

Handlebodies with the same genus are homeomorphic as 3-manifolds.

Parameter ``compare``:
    the handlebody with which this will be compared.

Returns:
    ``True`` if and only if this and the given handlebody have the
    same genus.)doc";

// Docstring regina::python::doc::Handlebody_::__init
static const char *__init =
R"doc(Creates a new orientable handlebody of the given genus.

Parameter ``genus``:
    the number of handles.)doc";

// Docstring regina::python::doc::Handlebody_::genus
static const char *genus =
R"doc(Returns the genus of this handlebody.

Returns:
    the genus; that is, number of handles.)doc";

// Docstring regina::python::doc::Handlebody_::global_swap
static const char *global_swap =
R"doc(Swaps the contents of the two given handlebodies.

This global routine simply calls Handlebody::swap(); it is provided so
that LensSpace meets the C++ Handlebody requirements.

Parameter ``a``:
    the first handlebody whose contents should be swapped.

Parameter ``b``:
    the second handlebody whose contents should be swapped.)doc";

// Docstring regina::python::doc::Handlebody_::swap
static const char *swap =
R"doc(Swaps the contents of this and the given handlebody.

Parameter ``other``:
    the handlebody whose contents should be swapped with this.)doc";

}

} // namespace regina::python::doc

#if defined(__GNUG__)
#pragma GCC diagnostic pop
#endif