37 #include "pteros/core/system.h"
38 #include "pteros/core/selection.h"
39 #include "pteros/core/distance_search.h"
43 struct Bilayer_point_info {
47 float surf_dist1, surf_dist2;
51 Eigen::Vector3f normal;
53 Eigen::Vector3f center;
57 Eigen::Vector3f proj1, proj2;
59 std::shared_ptr<Selection> spot1_ptr, spot2_ptr;
66 Bilayer(Selection& sel, std::string head_marker_atom,
float d = 2.0);
67 void create(Selection& sel, std::string head_marker_atom,
float d = 2.0);
69 Bilayer_point_info point_info(Eigen::Vector3f& point);
71 Selection* bilayer_ptr;
72 Selection mono1,mono2;
73 std::vector<Selection> surf;