microcad_core/geo3d/
plane.rs

1// Copyright © 2025 The µcad authors <info@ucad.xyz>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4//! 3D plane geometry.
5
6use crate::Vec3;
7
8/// A 3D plane with normal and point.
9pub struct Plane {
10    /// Plane origin point.
11    pub p: Vec3,
12    /// Plane normal.
13    pub n: Vec3,
14}