Re-export SweptCurve from surfaces

This commit is contained in:
Hanno Braun 2024-10-11 18:53:36 +02:00
parent e2c97bfd54
commit 3928443331
8 changed files with 14 additions and 14 deletions

View File

@ -4,9 +4,8 @@ use fj_math::{Circle, Line, Point};
use crate::{ use crate::{
geometry::{ geometry::{
surfaces::swept_curve::SweptCurve, surfaces::SweptCurve, util::tri_mesh::convert_point_surface_to_global,
util::tri_mesh::convert_point_surface_to_global, CurveBoundary, CurveBoundary, Geometry, Path, Tolerance,
Geometry, Path, Tolerance,
}, },
storage::Handle, storage::Handle,
topology::{Curve, Surface}, topology::{Curve, Surface},
@ -205,7 +204,7 @@ mod tests {
circle::approx_circle, curve::approx_curve, ApproxPoint, circle::approx_circle, curve::approx_curve, ApproxPoint,
}, },
geometry::{ geometry::{
surfaces::swept_curve::SweptCurve, surfaces::SweptCurve,
util::tri_mesh::convert_point_surface_to_global, CurveBoundary, util::tri_mesh::convert_point_surface_to_global, CurveBoundary,
Path, Path,
}, },

View File

@ -4,9 +4,8 @@ use fj_math::{Aabb, Vector};
use crate::{ use crate::{
geometry::{ geometry::{
surfaces::swept_curve::SweptCurve, surfaces::SweptCurve, util::tri_mesh::convert_point_surface_to_global,
util::tri_mesh::convert_point_surface_to_global, Geometry, Path, Geometry, Path, Tolerance,
Tolerance,
}, },
topology::Face, topology::Face,
}; };

View File

@ -8,8 +8,8 @@ use crate::{
}; };
use super::{ use super::{
surfaces::swept_curve::SweptCurve, vertex::LocalVertexGeom, CurveGeom, surfaces::SweptCurve, vertex::LocalVertexGeom, CurveGeom, CurveGeom2,
CurveGeom2, LocalCurveGeom, Path, VertexGeom, LocalCurveGeom, Path, VertexGeom,
}; };
/// Geometric data that is associated with topological objects /// Geometric data that is associated with topological objects

View File

@ -1,3 +1,5 @@
//! # Geometry code specific to various types of surfaces //! # Geometry code specific to various types of surfaces
pub mod swept_curve; pub mod swept_curve;
pub use self::swept_curve::SweptCurve;

View File

@ -36,7 +36,7 @@ mod tests {
use pretty_assertions::assert_eq; use pretty_assertions::assert_eq;
use crate::geometry::{ use crate::geometry::{
surfaces::swept_curve::SweptCurve, surfaces::SweptCurve,
util::tri_mesh::{ util::tri_mesh::{
convert_point_surface_to_global, convert_vector_surface_to_global, convert_point_surface_to_global, convert_vector_surface_to_global,
}, },

View File

@ -2,8 +2,8 @@
use crate::{ use crate::{
geometry::{ geometry::{
surfaces::swept_curve::SweptCurve, CurveGeom2, Geometry, surfaces::SweptCurve, CurveGeom2, Geometry, LocalCurveGeom,
LocalCurveGeom, LocalVertexGeom, LocalVertexGeom,
}, },
storage::Handle, storage::Handle,
topology::{Curve, Surface, Vertex}, topology::{Curve, Surface, Vertex},

View File

@ -1,7 +1,7 @@
use fj_math::{Point, Scalar, Vector}; use fj_math::{Point, Scalar, Vector};
use crate::{ use crate::{
geometry::{surfaces::swept_curve::SweptCurve, Path}, geometry::{surfaces::SweptCurve, Path},
operations::insert::Insert, operations::insert::Insert,
storage::Handle, storage::Handle,
topology::Surface, topology::Surface,

View File

@ -2,7 +2,7 @@ use fj_math::{Circle, Line, Vector};
use crate::{ use crate::{
geometry::{ geometry::{
surfaces::swept_curve::SweptCurve, surfaces::SweptCurve,
util::tri_mesh::{ util::tri_mesh::{
convert_point_surface_to_global, convert_vector_surface_to_global, convert_point_surface_to_global, convert_vector_surface_to_global,
}, },