Points&Forces (core)
Software tools facilitating the task of surveying architecture
include
a_intern.h
Go to the documentation of this file.
1
/*
2
Copyright 2010-2019 Pierre SMARS (smars@yuntech.edu.tw)
3
This program is free software: you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation, either version 2 of the License, or
6
(at your option) any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
#ifndef _VE_INTERN_H_
17
#define _VE_INTERN_H_
18
19
#include "
a_mat.h
"
20
21
// .NAME a_intern
22
// .SECTION Author
23
// Pierre Smars
24
25
#include <iostream>
26
28
class
a_intern
:
public
a_mat
29
{
30
public
:
31
inline
a_intern
() :
a_mat
(3,3) {
for
(
int
i = 0; i<3; i++) (*
this
)(i,i)=1; }
32
a_intern
(
const
a_mat
& m);
33
static
const
std::string
help
();
34
inline
void
s
(
double
v) {(*this)(0,0)=v;(*this)(1,1)=v;}
35
inline
void
sx
(
double
v) {(*this)(0,0)=v;}
36
inline
void
sy
(
double
v) {(*this)(1,1)=v;}
37
inline
void
stheta
(
double
v) {(*this)(0,1)=v;}
38
inline
void
u0
(
double
v) {(*this)(0,2)=v;}
39
inline
void
v0
(
double
v) {(*this)(1,2)=v;}
40
41
inline
double
sx
() {
return
(*
this
)(0,0);}
42
inline
double
sy
() {
return
(*
this
)(1,1);}
43
inline
double
stheta
() {
return
(*
this
)(0,1);}
44
inline
double
u0
() {
return
(*
this
)(0,2);}
45
inline
double
v0
() {
return
(*
this
)(1,2);}
46
};
47
#endif
a_mat.h
a_intern
intern calibration matrix
Definition:
a_intern.h:29
a_intern::a_intern
a_intern()
Definition:
a_intern.h:31
a_intern::v0
double v0()
Definition:
a_intern.h:45
a_intern::sy
void sy(double v)
Definition:
a_intern.h:36
a_intern::sx
double sx()
Definition:
a_intern.h:41
a_intern::sx
void sx(double v)
Definition:
a_intern.h:35
a_intern::v0
void v0(double v)
Definition:
a_intern.h:39
a_intern::help
static const std::string help()
Definition:
a_intern.cxx:19
a_intern::u0
void u0(double v)
Definition:
a_intern.h:38
a_intern::stheta
double stheta()
Definition:
a_intern.h:43
a_intern::stheta
void stheta(double v)
Definition:
a_intern.h:37
a_intern::u0
double u0()
Definition:
a_intern.h:44
a_intern::sy
double sy()
Definition:
a_intern.h:42
a_intern::s
void s(double v)
Definition:
a_intern.h:34
a_mat
Definition:
a_mat.h:42
Generated on Tue Sep 6 2022 18:50:16 for Points&Forces (core) by
1.9.1