MCPcopy Create free account
hub / github.com/Kitware/VTK / ContainsPoint

Method ContainsPoint

Common/DataModel/vtkBoundingBox.h:662–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662inline vtkTypeBool vtkBoundingBox::ContainsPoint(double px, double py, double pz) const
663{
664 if ((px < this->MinPnt[0]) || (px > this->MaxPnt[0]))
665 {
666 return 0;
667 }
668 if ((py < this->MinPnt[1]) || (py > this->MaxPnt[1]))
669 {
670 return 0;
671 }
672 if ((pz < this->MinPnt[2]) || (pz > this->MaxPnt[2]))
673 {
674 return 0;
675 }
676 return 1;
677}
678
679inline vtkTypeBool vtkBoundingBox::ContainsPoint(const double p[3]) const
680{

Callers 2

ContainsMethod · 0.95
IntersectsLineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected