65 static constexpr
auto Epsilon = std::numeric_limits<double>::epsilon();
129 rHighPoint = rLowPoint = *rObject;
146 auto radiusExtension =
PointType(Radius, Radius, Radius);
148 rLowPoint =
PointType{*rObject - radiusExtension};
149 rHighPoint =
PointType{*rObject + radiusExtension};
161 rCentralPoint = *rObject;
176 if(std::fabs((*rObj_1)[
i] - (*rObj_2)[
i]) >
Epsilon) {
199 if(std::fabs((*rObj_1)[
i] - (*rObj_2)[
i]) >
Epsilon + Radius) {
222 if( (*rObject)[
i] < rLowPoint[
i] -
Epsilon || (*rObject)[
i] > rHighPoint[
i] +
Epsilon) {
247 if( ((*rObject)[
i] + Radius) < rLowPoint[
i] -
Epsilon || ((*rObject)[
i] - Radius) > rHighPoint[
i] +
Epsilon) {
272 double pwdDistance = 0.0f;
275 pwdDistance += std::pow((*rObj_1)[
i] - (*rObj_2)[
i], 2);
278 distance = std::sqrt(pwdDistance);
308 virtual std::string
Info()
const {
309 return "Spatial Containers Configure for 'Points'";
313 virtual std::string
Data()
const {
314 return "Dimension: " + std::to_string(
Dimension);
319 rOStream <<
Info() << std::endl;
417 rOStream << std::endl;
This class defines the node.
Definition: node.h:65
Point class.
Definition: point.h:59
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
TContainerType ContainerType
Definition: pointer_vector_set.h:90
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
integer i
Definition: TensorModule.f:17