MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

DefinePoints — Definition of points [maple]

DefinePoints(A,B,pv)

DefinePoints([A1,B1,pv1], ..., [An,Bn,pvn])

A,A1, ..., An: names of declared points

B,B1, ..., Bn: names of declared points

pv,pv1, ..., pvn: vector specifications

The function DefinePoints defines a direct relation between two declared points by specifying the position vector from the first point to the second point. A pair of indirectly related points may not be defined.

The function DefinePoints results in permanent changes to the global variables GlobalPointDeclarations and GlobalPointDefinitions.

The syntax of a vector specification corresponds to that of the argument to the MakeTranslations procedure.

>Restart():
>DeclarePoints(Ap,Bp,Cp):
>DeclareTriads(a,b,c):
>DefinePoints([Ap,Bp,a,1],[Bp,Cp,[b,2],[c,3]]):
>print(GlobalPointDeclarations);

tableCp=Bp,Ap=Bp,Bp=Ap,Cp

>print(GlobalPointDefinitions);

tableCp,Bp=table1=tableCoordinates=010,Triad=b,2=tableCoordinates=001,Triad=c,Size=2,Type=Vector,Bp,Ap=table1=tableCoordinates=100,Triad=a,Size=1,Type=Vector,Bp,Cp=table1=tableCoordinates=010,Triad=b,2=tableCoordinates=001,Triad=c,Size=2,Type=Vector,Ap,Bp=table1=tableCoordinates=100,Triad=a,Size=1,Type=Vector


Toolbox functions