AutoRig/Analyze/SymmetryPlane.cs

A small value type representing a detected bilateral symmetry plane. It stores the plane origin, the plane normal, and a confidence score.

using System.Numerics;

namespace AutoRig.Analyze;

// s&box compat: the engine defines Vector2/Vector3 in the GLOBAL namespace, which
// shadows using-directive imports - alias explicitly to System.Numerics.
using Vector2 = System.Numerics.Vector2;
using Vector3 = System.Numerics.Vector3;


/// <summary>A detected bilateral symmetry plane.</summary>
public readonly record struct SymmetryPlane( Vector3 Origin, Vector3 Normal, float Score );