[ 
https://issues.apache.org/jira/browse/GEOMETRY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762455#comment-16762455
 ] 

Sven Rathgeber commented on GEOMETRY-43:
----------------------------------------

Hi Matt,

I think it depends on the definition of intersection.
If the definition of parallel with distance = 0 means, there is no 
intersection, then PolyhedronsSet.firstIntersection should return null.
If the definition of parallel with distance = 0 means, there are infinite 
intersections, then PolyhedronsSet.firstIntersection should return a Plane and 
Plane.intersection(Line)  should return the Line (or a Segment).


( My interest is to find out (somehow), if the Line 'touches' (intersects or is 
parallel with distance 0) the polySet
and if it does so, I need the intersecting points or the Segment information. 
Do you see a way to achieve this ? )

> Check unit test - line intersecting cube (line lies on a plane)
> ---------------------------------------------------------------
>
>                 Key: GEOMETRY-43
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-43
>             Project: Apache Commons Geometry
>          Issue Type: Task
>          Components: Euclidean 3D
>            Reporter: Sven Rathgeber
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Intersecting a cube with a Line (which lies on a plane) results in one 
> intersection only.
>  
> Please check the pull request:
> https://github.com/apache/commons-geometry/pull/23
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to