------------------------------------------------------------------------------
| 846 | |
| 847 | //------------------------------------------------------------------------------ |
| 848 | void 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 | //------------------------------------------------------------------------------ |
| 872 | void vtkHyperTreeGridGeometry3DImpl::SetIntersectXYZ( |
no test coverage detected