| | | 1 | | //======================================================================= |
| | | 2 | | // PrismCurvedBoundaryLine.cs |
| | | 3 | | //======================================================================= |
| | | 4 | | // MIT License, Copyright (c) 2024-present David Oravsky (mrdav30) |
| | | 5 | | // See LICENSE file in the project root for full license information. |
| | | 6 | | //======================================================================= |
| | | 7 | | |
| | | 8 | | using System; |
| | | 9 | | |
| | | 10 | | namespace FixedMathSharp.Geometry; |
| | | 11 | | |
| | | 12 | | /// <summary>A retained native boundary line competing with one convex source's complete exit.</summary> |
| | | 13 | | internal readonly struct PrismCurvedBoundaryLine |
| | | 14 | | { |
| | | 15 | | internal readonly int Face, BoundaryEdge; |
| | | 16 | | internal readonly RationalSegmentInterval Clip; |
| | | 17 | | internal readonly Fixed64 Lower, Upper; |
| | | 18 | | internal PrismCurvedBoundaryLine(int face, RationalSegmentInterval clip, Fixed64 lower, Fixed64 upper, int boundaryE |
| | 84 | 19 | | { Face = face; Clip = clip; Lower = lower; Upper = upper; BoundaryEdge = boundaryEdge; } |
| | | 20 | | } |