Question: How do I use the geometry module without using fixed points

 Hi all,

I'm trying to use the geometry module. I tried the following code:

> with(geometry);
> point(A, xA, xB);
> point(B, xB, yB);
> line(AB, [A, B]);
line: One of the following conditions must be satisfied xA-xB <> 0 xB-yB <> 0
Error, (in geometry:-line) not enough information: the line is not defined

As you can see, maple is unable to create the line object since the two points can be the same. Is there a way to tell maple that the two points A and B are not the same point?

I have the same problem with triangles (maple can't be sure that the three points aren't on the same line).


Thanks for any answers.


Please Wait...