geometry - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Creating Objects : geometry/point

geometry

  

point

  

define a point

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

point(P, Px, Py)

point(P, [Px, Py])

Parameters

P

-

the name of the point

Px

-

the horizontal coordinate

Py

-

the vertical coordinate

Description

• 

A point is represented as a dot. It has position only, and has no length, width, or thickness.

• 

A point P is represented by its horizontal coordinate Px and vertical coordinate Py.

• 

To access the information relating to a point P, use the following function calls:

form(P)

returns the form of the geometric

 

object (i.e., point2d if P is a point).

coordinates(P)

returns [Px,Py] where Px is the horizontal

 

horizontal coordinate and Py the

 

vertical coordinate of P.

HorizontalCoord(P)

returns Px which is the horizontal

 

coordinate of P.

VerticalCoord(P)

returns Py which is the vertical

 

coordinate of P.

detail(P)

returns a detailed expression of the

 

point P.

• 

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

Examples

withgeometry:

pointB,2,0

B

(1)

formB

point2d

(2)

coordinatesB

2,0

(3)

HorizontalCoordB

2

(4)

VerticalCoordB

0

(5)

detailB

name of the objectBform of the objectpoint2dcoordinates of the point2,0

(6)

See Also

geometry[AreCollinear]

geometry[AreConcyclic]

geometry[AreHarmonic]

geometry[centroid]

geometry[convexhull]

geometry[CrossRatio]

geometry[diameter]

geometry[distance]

geometry[midpoint]

geometry[objects]

geometry[OnSegment]

geometry[Polar]

geometry[powerpc]

geometry[projection]

geometry[randpoint]

geometry[transformation]

 


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