Rosetta
|
utility functions to compute 2D convex and concave hulls from a slice in a pose More...
#include <core/id/AtomID_Map.hh>
#include <core/pose/Pose.fwd.hh>
#include <core/types.hh>
#include <utility/vector1.hh>
Namespaces | |
core | |
A class for reading in the atom type properties. | |
core::membrane | |
Functions | |
core::id::AtomID_Map< bool > | core::membrane::concave_shell (core::pose::Pose &pose, core::Real min_z, core::Real max_z, core::Real incr_z, core::Real shell_radius, core::Real dist_cutoff) |
compute the concave shell from the pose, computes along a slice and takes the atoms within a shell, not just the outermost ones from the concave hull More... | |
utility::vector1< utility::vector1< core::Size > > | core::membrane::convex_hull (std::map< core::Size, core::Vector > const &coords, core::Real min_z, core::Real max_z) |
computes 2D convex hull: points in a slice on z-dimension are flattened into xy plane; the output is three lists of points for inside, outside and boundary More... | |
utility::vector1< utility::vector1< core::Size > > | core::membrane::concave_hull (std::map< core::Size, core::Vector > const &coords, utility::vector1< utility::vector1< core::Size > > const &point_lists, core::Real dist_cutoff) |
computes 2D concave hull from three lists of points for inside, outside and boundary More... | |
utility::vector1< utility::vector1< core::Size > > | core::membrane::add_shell (std::map< core::Size, core::Vector > const &coords, utility::vector1< utility::vector1< core::Size > > const &point_lists, core::Real shell_radius) |
adds a shell to boundary points which are taken from the inside point list More... | |
utility::vector1< core::Real > | core::membrane::get_distances (std::map< core::Size, core::Vector > const &coords, core::Size p1, core::Size p2, utility::vector1< core::Size > const &points, bool clock) |
compute distances in point list from line p1p2 More... | |
utility::vector1< core::Real > | core::membrane::get_angles (std::map< core::Size, core::Vector > const &coords, core::Size p1, core::Size p2, utility::vector1< core::Size > const &points, bool clock) |
compute enclosing angles in point list from line p1p2 More... | |
core::Size | core::membrane::find_closest (std::map< core::Size, core::Vector > const &coords, core::Size p1, core::Size p2, utility::vector1< core::Size > const &inside_points, bool clock) |
find point in AtomIDMap that is closest to line connecting p1p2 More... | |
core::Size | core::membrane::find_farthest (std::map< core::Size, core::Vector > const &coords, core::Size p1, core::Size p2, utility::vector1< core::Size > const &outside_points, bool clock) |
find point in AtomIDMap that is farthest from line connecting p1p2 More... | |
std::string | core::membrane::inside_polygon (std::map< core::Size, core::Vector > const &coords, utility::vector1< core::Size > const &polygon, core::Vector const &q) |
checks whether the point q is inside the polygon or not i.e. compute the number of crossing points with polygon 0 outside 1 inside 2 on boundary More... | |
utility::vector1< core::Size > | core::membrane::points_in_triangle (std::map< core::Size, core::Vector > const &coords, core::Size p1, core::Size p2, core::Size q, utility::vector1< core::Size > const &points) |
returns the points that are within the triangle between points p1, p2, q More... | |
core::Real | core::membrane::distance_from_line2D (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
distance of point q from line between points p1 and p2 More... | |
bool | core::membrane::on_segment (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
is point q on line segment between points p1 and p2? More... | |
bool | core::membrane::inside_boundaries (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
q is inside xy boundaries of p1p2 More... | |
bool | core::membrane::clockwise (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
is q clockwise from p1p2? More... | |
bool | core::membrane::to_left (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
check whether q is to the left of p1p2 More... | |
bool | core::membrane::intersect (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
check whether line p1p2 intersects with (q to infinity); q is the test point More... | |
core::Real | core::membrane::enclosing_angles (core::Vector const &p1, core::Vector const &p2, core::Vector const &q) |
find the sum of angles p1q and p2q in 2D; p1, p2, q are points, not vectors More... | |
utility functions to compute 2D convex and concave hulls from a slice in a pose