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

Online Help

All Products    Maple    MapleSim


geom3d

  

DefinedAs

  

return the name of endpoints or vertices of a segment, a directed segment, or a triangle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

DefinedAs(obj)

Parameters

obj

-

segment, directed segment, triangle

Description

• 

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

• 

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

Examples

withgeom3d:

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

segmentseg,A,B:

DefinedAsseg

A,B

(1)

mapcoordinates,

0,0,0,1,1,1

(2)

pointC,1,0,3:

triangleT,A,B,C:

DefinedAsT

A,B,C

(3)

mapcoordinates,

0,0,0,1,1,1,1,0,3

(4)

See Also

geom3d[detail]

geom3d[vertices]