gtsam/wrap/geometry.h

59 lines
1.1 KiB
C++

// comments!
class Point2 {
Point2();
Point2(double x, double y);
double x();
double y();
int dim() const;
};
class Point3 {
Point3(double x, double y, double z);
double norm() const;
};
// another comment
class Test {
/* a comment! */
// another comment
Test();
bool return_bool (bool value); // comment after a line!
size_t return_size_t (size_t value);
int return_int (int value);
double return_double (double value);
// comments in the middle!
// (more) comments in the middle!
string return_string (string value);
Vector return_vector1(Vector value);
Matrix return_matrix1(Matrix value);
Vector return_vector2(Vector value);
Matrix return_matrix2(Matrix value);
pair<Vector,Matrix> return_pair (Vector v, Matrix A);
bool return_field(const Test& t) const;
Test* return_TestPtr(Test* value);
Point2* return_Point2Ptr(bool value);
pair<Test*,Test*> create_ptrs ();
pair<Test*,Test*> return_ptrs (Test* p1, Test* p2);
void print();
// comments at the end!
// even more comments at the end!
};
// comments at the end!
// even more comments at the end!