geometry - Maple Help

Online Help

All Products    Maple    MapleSim


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

geometry

  

diameter

  

compute the diameter of points on a plane

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

diameter(g)

Parameters

g

-

list or set of points

Description

• 

The routine computes the diameter of a given set or list of points g. The output is a list of three elements where the first two elements are two points denoting the two endpoints of the diameter of g, the third element the distance between these two endpoints.

• 

To find the diameter of a list or set of points, the coordinates of the points must be numeric.

• 

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

Examples

withgeometry:

pointA,0,0,pointB,2,0,pointC,1,3,pointF,1,6:

pointM,2,3:

psA,B,C,F,M:

diameterps

B,F,37

(1)

See Also

geometry[convexhull]

 


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