20 #include <utility/exit.hh>
22 #include <utility/vector1.hh>
29 using namespace conformation;
41 determine_protein_interface( pose, protein_positions, dna_positions );
42 determine_dna_interface( pose, protein_positions, dna_positions );
55 determine_protein_interface( pose, protein_positions, dna_positions );
65 determine_protein_interface( pose, protein_positions, dna_positions );
66 determine_dna_interface( pose, protein_positions, dna_positions );
77 end( protein_positions.end() ); p_index !=
end; ++p_index ) {
82 DnaNeighbor & neighbor( protein_neighbors_[ *p_index ] );
84 Real shortest_arg_dis2(10000);
86 end( dna_positions.end() ); dna_index !=
end && !neighbor.
contact(); ++dna_index ) {
91 if ( neighbor.
close() ) {
94 argrot_dna_dis2( pose, *p_index, pres, dres, contact_threshold_, base_only_ )
96 if ( dis2 < shortest_arg_dis2 ) shortest_arg_dis2 = dis2;
97 if ( shortest_arg_dis2 < contact_threshold_ ) neighbor.
contact(
true);
113 end( dna_positions.end() ); d_index !=
end; ++d_index ) {
118 DnaNeighbor & neighbor( dna_neighbors_[ *d_index ] );
120 Real shortest_arg_dis2(10000);
122 end( protein_positions.end() ); p_index !=
end && !neighbor.
contact(); ++p_index ) {
127 if ( neighbor.
close() ) {
130 argrot_dna_dis2( pose, *p_index, pres, dres, contact_threshold_, base_only_ )
132 if ( dis2 < shortest_arg_dis2 ) shortest_arg_dis2 = dis2;
133 if ( shortest_arg_dis2 < contact_threshold_ ) neighbor.
contact(
true);
144 runtime_assert( initialized() );
145 return protein_neighbors_;
151 runtime_assert( initialized() );
152 return dna_neighbors_;