MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

DefinePoints — Definition of points [mupad/matlab]

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);

Define Points

print(GlobalPointDefinitions);

Define Pounts


Toolbox functions