From e284489ebcbdfdd6f906e06e54d0bcfe8e8783de Mon Sep 17 00:00:00 2001 From: Riegel Date: Mon, 12 Aug 2024 15:09:33 +0200 Subject: [PATCH] Adjusted javadoc. Ref #69 --- .../de/hft/stuttgart/citydoctor2/edge/EdgePolygon.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CityDoctorParent/CityDoctorEdge/src/main/java/de/hft/stuttgart/citydoctor2/edge/EdgePolygon.java b/CityDoctorParent/CityDoctorEdge/src/main/java/de/hft/stuttgart/citydoctor2/edge/EdgePolygon.java index aae54a19..f2872c3f 100644 --- a/CityDoctorParent/CityDoctorEdge/src/main/java/de/hft/stuttgart/citydoctor2/edge/EdgePolygon.java +++ b/CityDoctorParent/CityDoctorEdge/src/main/java/de/hft/stuttgart/citydoctor2/edge/EdgePolygon.java @@ -92,15 +92,13 @@ public class EdgePolygon extends BaseEntity { } /** - * Test whether the given point is lying in- or outside of the non self + * Test whether the given point is lying inside the non-self- * intersecting, planar polygon. It's believed, that point and polygon are lying * in the same plane.
*
- * It's assumed, that the polygon is non self intersecting and planar. - * Additionally it is assumed, that the point and the polygon lying in the same - * plane. The given point is projected on the plane of the polygon. If the point - * is lying on an edge of the polygon it's supposed that the point is inside of - * the polygon + * It's assumed, that the polygon is non-self-intersecting and planar, and that the point is + * lying in the same plane. The given point is projected on the plane of the polygon. If the point is lying on an edge + * of the polygon, it is considered to be inside. * * @param rcPoint The point that should be checked * -- GitLab