forked from 1b-agent/opencadstudio-upstream
Support planar circle tangent snapping
This commit is contained in:
1 parent
5b4c1da881
commit
390d42a63a
4 files changed
+121
-3
No files matched your search
@@ -29,8 +29,15 @@ pub enum SnapHint {
|
||||
pub enum TangentGeom {
|
||||
/// Infinite line through these two world-space points.
|
||||
Line { p1: [f32; 3], p2: [f32; 3] },
|
||||
/// Circle/arc.
|
||||
/// Round geometry in the world XY plane.
|
||||
Circle { center: [f32; 3], radius: f32 },
|
||||
/// Complete circle in an arbitrary world-space plane.
|
||||
PlanarCircle {
|
||||
center: [f32; 3],
|
||||
axis_x: [f32; 3],
|
||||
axis_y: [f32; 3],
|
||||
radius: f32,
|
||||
},
|
||||
}
|
||||
|
||||
/// A 1-D entity (line, arc, polyline) represented as an ordered set of
|
||||
|
||||
Reference in new issue
Block a user