mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 12:58:28 +00:00
Re-export SweptCurve
from surfaces
This commit is contained in:
parent
e2c97bfd54
commit
3928443331
@ -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,
|
||||||
},
|
},
|
||||||
|
@ -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,
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
@ -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},
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user