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

Method SetXYZ

Filters/HyperTree/vtkHyperTreeGridGeometry3DImpl.cxx:848–869  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

846
847//------------------------------------------------------------------------------
848void vtkHyperTreeGridGeometry3DImpl::SetXYZ(HTG3DPoint& point, const double* coords)
849{
850 point.Coords[0] = coords[0];
851 point.Coords[1] = coords[1];
852 point.Coords[2] = coords[2];
853
854 point.Id = -1;
855 if (this->HasInterfaceOnThisCell)
856 {
857 if (this->CellInterfaceType != 1.)
858 {
859 point.HasInterfaceA = true;
860 point.DistanceToInterfaceA = this->ComputeDistanceToInterfaceA(point.Coords);
861 }
862 if (this->CellInterfaceType != -1.)
863 {
864 point.HasInterfaceB = true;
865 point.DistanceToInterfaceB = this->ComputeDistanceToInterfaceB(point.Coords);
866 }
867 }
868 point.IsValid = true;
869}
870
871//------------------------------------------------------------------------------
872void vtkHyperTreeGridGeometry3DImpl::SetIntersectXYZ(

Callers 1

GenerateOneCellFaceMethod · 0.95

Tested by

no test coverage detected