| | | 1 | | //======================================================================= |
| | | 2 | | // PrismCurvedContactDomain.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 | | |
| | | 13 | | |
| | | 14 | | |
| | | 15 | | |
| | | 16 | | |
| | | 17 | | |
| | | 18 | | |
| | | 19 | | |
| | | 20 | | |
| | | 21 | | |
| | | 22 | | /// <summary>Borrowed source windows and primitive-local support covectors; owns no topology or storage.</summary> |
| | | 23 | | internal readonly ref struct PrismCurvedContactDomain |
| | | 24 | | { |
| | | 25 | | internal readonly bool Enabled, IncludeFarBoundary; |
| | | 26 | | internal readonly ReadOnlySpan<PrismCurvedEdgeWindow> Edges; |
| | | 27 | | internal readonly ReadOnlySpan<WideDirection3d> FanCovectors; |
| | | 28 | | internal readonly ReadOnlySpan<PrismCurvedFaceCertificate> Certificates; |
| | | 29 | | internal PrismCurvedContactDomain(ReadOnlySpan<PrismCurvedEdgeWindow> edges, ReadOnlySpan<WideDirection3d> fanCovect |
| | 384 | 30 | | { Enabled = true; IncludeFarBoundary = includeFarBoundary; Edges = edges; FanCovectors = fanCovectors; Certificates |
| | | 31 | | } |