Public Member Functions | Private Attributes | List of all members
anzu::sub::Point2 Class Reference

#include <pybind_wrapper_test.h>

Inheritance diagram for anzu::sub::Point2:
Inheritance graph
[legend]

Public Member Functions

double func_with_default_args (double a, double b=20.0) const
 
 Point2 (double x, double y=10.0)
 
void print (const std::string &s) const
 
double sum () const override
 
double x () const
 
double y () const
 
- Public Member Functions inherited from anzu::PointBase
virtual ~PointBase ()
 

Private Attributes

double x_
 
double y_
 

Detailed Description

Definition at line 17 of file pybind_wrapper_test.h.

Constructor & Destructor Documentation

◆ Point2()

anzu::sub::Point2::Point2 ( double  x,
double  y = 10.0 
)
inlineexplicit

Definition at line 19 of file pybind_wrapper_test.h.

Member Function Documentation

◆ func_with_default_args()

double anzu::sub::Point2::func_with_default_args ( double  a,
double  b = 20.0 
) const
inline

Definition at line 23 of file pybind_wrapper_test.h.

◆ print()

void anzu::sub::Point2::print ( const std::string &  s) const
inline

Definition at line 26 of file pybind_wrapper_test.h.

◆ sum()

double anzu::sub::Point2::sum ( ) const
overridevirtual

Implements anzu::PointBase.

Definition at line 6 of file pybind_wrapper_test.cc.

◆ x()

double anzu::sub::Point2::x ( ) const
inline

Definition at line 20 of file pybind_wrapper_test.h.

◆ y()

double anzu::sub::Point2::y ( ) const
inline

Definition at line 21 of file pybind_wrapper_test.h.

Member Data Documentation

◆ x_

double anzu::sub::Point2::x_
private

Definition at line 29 of file pybind_wrapper_test.h.

◆ y_

double anzu::sub::Point2::y_
private

Definition at line 29 of file pybind_wrapper_test.h.


The documentation for this class was generated from the following files:


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:18