geometry - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Point Functions : geometry/IsOnCircle

geometry

  

IsOnCircle

  

test if a point, a list, or set of points is on a circle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsOnCircle(f, c, cond)

Parameters

f

-

a point, a list or a set of points

c

-

a circle

cond

-

(optional) a name

Description

• 

The routine returns true if the point f or the list/set of points f is on circle c; false if it is not; and FAIL if it is unable to reach a conclusion.

• 

In case of FAIL, if the third optional argument is given, the condition that makes f on circle c is assigned to this argument. It will be either of the form expr=0 or of the form &andexpr_1=0,...,expr_n=0 where expr, expr_i are Maple expressions.

• 

The command with(geometry,IsOnCircle) allows the use of the abbreviated form of this command.

Examples

withgeometry:

circlec1,x2+y2=1,x,y,circlec2,x22+y2=1,x,y,pointA,1,0:

IsOnCircleA,c1

true

(1)

IsOnCircleA,c2

false

(2)

pointA,a,12,pointB,35,b:

IsOnCircleA,B,c2,'cond'

IsOnCircle:   "hint: the following conditions must be satisfied: {24/25+b^2 = 0, 13/4+a^2-4*a = 0}"

FAIL

(3)

cond

2425+b2=0134+a24a=0

(4)

assumeopcond

IsOnCircleA,B,c2

true

(5)

See Also

geometry[IsOnLine]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam