Previous Up Next

24.15.1  Checking whether a point is on an object in the plane

See Section 25.11.1 for checking elements in three-dimensional geometry.

The is_element command determines whether or not a point lies on a geometric object.

Examples

is_element(-1-i,line(0,1+i))
     
1           
is_element(i,line(0,1+i))
     
0           

Previous Up Next