public final class EdgeCrossSolver extends Object
Modifier and Type | Method and Description |
---|---|
static Coords2d |
findCross(LineSegment2d segment1,
LineSegment2d segment2)
Finds the cross point between two line segments.
|
static Coords3d |
findIntersection(Coords3d e1v1,
Coords3d e1v2,
Coords3d e2v1,
Coords3d e2v2)
Finds the intersection of the e1v1-e1v2 and e2v1-e2v2 line segments.
|
public static Coords3d findIntersection(Coords3d e1v1, Coords3d e1v2, Coords3d e2v1, Coords3d e2v2)
e1v1
- the start of the first line segmente1v2
- the end of the first line segmente2v1
- the start of the second line segmente2v2
- the end of the second line segmentpublic static Coords2d findCross(LineSegment2d segment1, LineSegment2d segment2)
segment1
- the first line segmentsegment2
- the second line segmentCopyright © 2014–2020, Printing in 3D. All rights reserved.