35 py::class_<Observatory, std::shared_ptr<Observatory>>
cls(mod,
"Observatory");
38 cls.def(py::init<lsst::geom::Angle const, lsst::geom::Angle const, double const>());
41 cls.def(
"__eq__", [](Observatory
const&
self, Observatory
const&
other) {
return self ==
other; },
43 cls.def(
"__ne__", [](Observatory
const&
self, Observatory
const& other) {
return self !=
other; },
45 cls.def(
"__str__", &Observatory::toString);
46 cls.def(
"__repr__", &Observatory::toString);
49 cls.def(
"getLongitude", &Observatory::getLongitude);
50 cls.def(
"getLatitude", &Observatory::getLatitude);
51 cls.def(
"getElevation", &Observatory::getElevation);
52 cls.def(
"setLongitude", &Observatory::setLongitude,
"longitude"_a);
53 cls.def(
"setLatitude", &Observatory::setLatitude,
"latitude"_a);
54 cls.def(
"setElevation", &Observatory::setElevation,
"elevation"_a);
ItemVariant const * other