------------------------------------------------------------------------------
| 870 | |
| 871 | //------------------------------------------------------------------------------ |
| 872 | void vtkHyperTreeGridGeometry3DImpl::SetIntersectXYZ( |
| 873 | HTG3DPoint& point, const double* coords, bool isInterfaceA) |
| 874 | { |
| 875 | point.Coords[0] = coords[0]; |
| 876 | point.Coords[1] = coords[1]; |
| 877 | point.Coords[2] = coords[2]; |
| 878 | point.Id = -1; |
| 879 | if (isInterfaceA) |
| 880 | { |
| 881 | point.HasInterfaceA = true; |
| 882 | point.DistanceToInterfaceA = 0.; |
| 883 | if (this->HasInterfaceOnThisCell && this->CellInterfaceType != -1.) |
| 884 | { |
| 885 | point.HasInterfaceB = true; |
| 886 | point.DistanceToInterfaceB = this->ComputeDistanceToInterfaceB(point.Coords); |
| 887 | } |
| 888 | else |
| 889 | { |
| 890 | point.HasInterfaceB = false; |
| 891 | } |
| 892 | } |
| 893 | else |
| 894 | { |
| 895 | point.HasInterfaceB = true; |
| 896 | point.DistanceToInterfaceB = 0.; |
| 897 | if (this->HasInterfaceOnThisCell && this->CellInterfaceType != 1.) |
| 898 | { |
| 899 | point.HasInterfaceA = true; |
| 900 | point.DistanceToInterfaceA = this->ComputeDistanceToInterfaceA(point.Coords); // 1 is A |
| 901 | } |
| 902 | } |
| 903 | point.IsValid = true; |
| 904 | } |
| 905 | |
| 906 | //------------------------------------------------------------------------------ |
| 907 | vtkIdType vtkHyperTreeGridGeometry3DImpl::InsertUniquePoint(HTG3DPoint& point) |
no test coverage detected