geometry¶
Bindings for numeric::geometry namespace
- class pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t¶
Bases:
pybind11_object
- add(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, pp: pyrosetta.rosetta.numeric.xyzVector_double_t) None ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::add(const class numeric::xyzVector<double> &) –> void
- assign(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, bb: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t) pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::operator=(const class numeric::geometry::BoundingBox<class numeric::xyzVector<double> > &) –> class numeric::geometry::BoundingBox<class numeric::xyzVector<double> > &
- contains(*args, **kwargs)¶
Overloaded function.
contains(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, x: float, y: float, z: float) -> bool
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::contains(const double &, const double &, const double &) const –> bool
contains(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, p: pyrosetta.rosetta.numeric.xyzVector_double_t) -> bool
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::contains(const class numeric::xyzVector<double> &) const –> bool
- intersects(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, bb: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t) bool ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::intersects(const class numeric::geometry::BoundingBox<class numeric::xyzVector<double> > &) const –> bool
- lower(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t) pyrosetta.rosetta.numeric.xyzVector_double_t ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::lower() const –> const class numeric::xyzVector<double> &
- reset(*args, **kwargs)¶
Overloaded function.
reset(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t) -> None
reset(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, p: pyrosetta.rosetta.numeric.xyzVector_double_t) -> None
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::reset(const class numeric::xyzVector<double> &) –> void
- set_lower(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, p: pyrosetta.rosetta.numeric.xyzVector_double_t) None ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::set_lower(const class numeric::xyzVector<double> &) –> void
- set_upper(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, p: pyrosetta.rosetta.numeric.xyzVector_double_t) None ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::set_upper(const class numeric::xyzVector<double> &) –> void
- translate(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t, t: pyrosetta.rosetta.numeric.xyzVector_double_t) None ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::translate(const class numeric::xyzVector<double> &) –> void
- upper(self: pyrosetta.rosetta.numeric.geometry.BoundingBox_numeric_xyzVector_double_t) pyrosetta.rosetta.numeric.xyzVector_double_t ¶
C++: numeric::geometry::BoundingBox<numeric::xyzVector<double> >::upper() const –> const class numeric::xyzVector<double> &
- pyrosetta.rosetta.numeric.geometry.are_coplanar(ring_point_coords: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t) bool ¶
C++: numeric::geometry::are_coplanar(const class utility::vector1<class numeric::xyzVector<double>, class std::allocator<class numeric::xyzVector<double> > > &) –> bool
- pyrosetta.rosetta.numeric.geometry.projection_area(xs: pyrosetta.rosetta.utility.vector1_double, ys: pyrosetta.rosetta.utility.vector1_double, elements_rad: pyrosetta.rosetta.utility.vector1_double, probe_radius: float) float ¶
C++: numeric::geometry::projection_area(const class utility::vector1<double, class std::allocator<double> > &, const class utility::vector1<double, class std::allocator<double> > &, const class utility::vector1<double, class std::allocator<double> > &, const double) –> double
- pyrosetta.rosetta.numeric.geometry.residual_squared_of_points_to_plane(point_coords: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t, vector_normal_to_plane: pyrosetta.rosetta.numeric.xyzVector_double_t) float ¶
- Return the R-squared value, indicating how well one or more points lie in a given plane, if those points were
shifted such that their centroid were at the origin.
C++: numeric::geometry::residual_squared_of_points_to_plane(const class utility::vector1<class numeric::xyzVector<double>, class std::allocator<class numeric::xyzVector<double> > > &, const class numeric::xyzVector<double> &) –> double
- pyrosetta.rosetta.numeric.geometry.vector_normal_to_ring_plane_of_best_fit(*args, **kwargs)¶
Overloaded function.
vector_normal_to_ring_plane_of_best_fit(ring_point_coords: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t) -> pyrosetta.rosetta.numeric.xyzVector_double_t
vector_normal_to_ring_plane_of_best_fit(ring_point_coords: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t, co_planar_check: bool) -> pyrosetta.rosetta.numeric.xyzVector_double_t
Return the vector normal to the plane of best fit of a ring.
C++: numeric::geometry::vector_normal_to_ring_plane_of_best_fit(const class utility::vector1<class numeric::xyzVector<double>, class std::allocator<class numeric::xyzVector<double> > > &, bool) –> class numeric::xyzVector<double>