Orbiter 2022
Combinatorial Objects
andre_construction_point_element.cpp
Go to the documentation of this file.
1// andre_construction_point_element.cpp
2//
3// Anton Betten
4// May 31, 2013
5//
6//
7//
8//
9//
10
11#include "foundations.h"
12
13using namespace std;
14
15
16
17namespace orbiter {
18namespace layer1_foundations {
19namespace geometry {
20
21
22
23
24
26{
27 null();
28}
29
31{
32 freeself();
33}
34
36{
37 coordinates = NULL;
38}
39
41{
42 if (coordinates) {
44 }
45 null();
46}
47
49 andre_construction *Andre, int verbose_level)
50{
51 int f_v = (verbose_level >= 1);
52
53 if (f_v) {
54 cout << "andre_construction_point_element::init" << endl;
55 }
63 if (f_v) {
64 cout << "andre_construction_point_element::init done" << endl;
65 }
66}
67
69 int point_rank, int verbose_level)
70{
71 int f_v = (verbose_level >= 1);
73
74 if (f_v) {
75 cout << "andre_construction_point_element::unrank "
76 "point_rank=" << point_rank << endl;
77 }
79 if (point_rank < spread_size) {
82 }
83 else {
87 }
88 if (f_v) {
89 cout << "andre_construction_point_element::unrank done" << endl;
90 }
91}
92
94{
95 int f_v = (verbose_level >= 1);
96 int a;
98
99 if (f_v) {
100 cout << "andre_construction_point_element::rank" << endl;
101 }
102 point_rank = 0;
103 if (f_is_at_infinity) {
105 }
106 else {
108 a = Gg.AG_element_rank(q, coordinates, 1, n);
109 point_rank += a;
110 }
111 if (f_v) {
112 cout << "andre_construction_point_element::rank done" << endl;
113 }
114 return point_rank;
115}
116
117
118}}}
119
120
Andre / Bruck / Bose construction of a translation plane from a spread.
Definition: geometry.h:28
various functions related to geometries
Definition: geometry.h:721
void AG_element_unrank(int q, int *v, int stride, int len, long int a)
long int AG_element_rank(int q, int *v, int stride, int len)
#define FREE_int(p)
Definition: foundations.h:640
#define NEW_int(n)
Definition: foundations.h:625
#define TRUE
Definition: foundations.h:231
#define FALSE
Definition: foundations.h:234
the orbiter library for the classification of combinatorial objects