DefinedAs - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

geometry

  

DefinedAs

  

returns the name of endpoints or vertices of a segment, directed segment, triangle, or square

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

DefinedAs(obj)

Parameters

obj

-

segment, directed segment, triangle, or square

Description

• 

The routine returns the endpoints (for segment and directed segment), and vertices (for triangle and square) of obj.

• 

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

Examples

withgeometry:

pointA,0,0,pointB,1,1:

segmentseg,A,B:

DefinedAsseg

A,B

(1)

mapcoordinates,

0,0,1,1

(2)

pointC,1,0:

triangleT,A,B,C:

DefinedAsT

A,B,C

(3)

mapcoordinates,

0,0,1,1,1,0

(4)

See Also

geometry[coordinates]

geometry[dsegment]

geometry[segment]

geometry[square]

geometry[triangle]

 


Download Help Document