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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : geometry/DefinedAs

geometry[DefinedAs] - returns the name of endpoints or vertices of a segment, directed segment, triangle, or square

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

Was this information helpful?



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