summaryrefslogtreecommitdiffstats
path: root/src/libvpsc
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
commitd2df0412f728dd5bb54537dfdfe7c35b34d40e0e (patch)
treee2703384779e83312c456399999997fcc289c5cf /src/libvpsc
parentMerge branch 'master' into powerpencil (diff)
parentchange assignment to equality (diff)
downloadinkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.tar.gz
inkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.zip
Merge branch 'master' into powerpencil
Diffstat (limited to 'src/libvpsc')
-rw-r--r--src/libvpsc/linesegment.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libvpsc/linesegment.h b/src/libvpsc/linesegment.h
index caca3a2bb..ecf8800b0 100644
--- a/src/libvpsc/linesegment.h
+++ b/src/libvpsc/linesegment.h
@@ -103,21 +103,21 @@ void DoLineSegmentIntersection(const Vector& p0, const Vector& p1, const Vector&
Vector intersection;
std::cout << "Line Segment 0: (" << p0.x_ << ", " << p0.y_ << ") to (" << p1.x_ << ", " << p1.y_ << ")\n"
- << "Line Segment 1: (" << p2.x_ << ", " << p2.y_ << ") to (" << p3.x_ << ", " << p3.y_ << ")\n";
+ << "Line Segment 1: (" << p2.x_ << ", " << p2.y_ << ") to (" << p3.x_ << ", " << p3.y_ << ")" << std::endl;
switch(linesegment0.Intersect(linesegment1, intersection))
{
case LineSegment::PARALLEL:
- std::cout << "The lines are parallel\n\n";
+ std::cout << "The lines are parallel\n" << std::endl;
break;
case LineSegment::COINCIDENT:
- std::cout << "The lines are coincident\n\n";
+ std::cout << "The lines are coincident\n" << std::endl;
break;
case LineSegment::NOT_INTERSECTING:
- std::cout << "The lines do not intersect\n\n";
+ std::cout << "The lines do not intersect\n" << std::endl;
break;
case LineSegment::INTERSECTING:
- std::cout << "The lines intersect at (" << intersection.x_ << ", " << intersection.y_ << ")\n\n";
+ std::cout << "The lines intersect at (" << intersection.x_ << ", " << intersection.y_ << ")\n" << std::endl;
break;
}
}