Previous Up Next

27.11.1  Checking whether object in space is in another object

See Section 26.15.1 for checking elements in 2D geometry.

The is_element command determines whether or not a geometric object is contained in another.

Examples

P:=plane([0,0,0],[1,2,-3],[1,1,-2]); is_element(point(2,3,-5),P)
     
1           
L,P:=line([2,3,-2],[-1,-1,-1]),plane([-1,-1,-1],[1,2,-3],[1,1,-2]); is_element(L,P)
     
0           

Previous Up Next