Previous section-----Next section


Point[bnum, lpnt] is a Mech data object that specifies a point in the local coordinate system of body bnum.
• The lpnt can be a vector, {x, y} (2D) or {x, y, z} (3D), or a point number (positive integer) referencing coordinates that were defined with

• A simple vector {x, y} or {x, y, z} given in place of a Point object is interpreted as Point[1, {x, y}] or Point[1, {x, y, z}].
Mech's overloading of the built-in Point symbol has no effect on its usage in other Mathematica code.
• See also: Axis, Line, Plane, Point, Vector.

Further Examples

Load the Modeler2D package.

The following are all valid point specifications. The use of Location serves to show how the points are interpreted by MechanicalSystems. First we show points on body 1, the ground body.

Here are points on body 2. Local point number zero is always defined as the origin of a body.

After using SetBodies to define some local points, they can be referenced by their indices in a Point object.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information