WOLFRAM

Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler
  • All Products
Consulting & Solutions
  • Wolfram Consulting
  • Industry Solutions
  • Solutions for Education
Learning & Support
  • Wolfram U Courses
  • Wolfram Language Resources
  • Wolfram Community
  • Support FAQs
  • Contact Support
Company
  • About Wolfram
  • Careers
  • Events
  • Educational Programs
  • All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
  • Your Account
  • User Portal
Search

Mechanical Systems  / Function Index  /
Previous section-----Next section

ReferenceDirection
3D

• ReferenceDirection[axis] returns the reference direction associated with axis. This is a vector that is not parallel to the direction of axis.

• The reference direction of an axis may be explicitly specified with Axis[origin, direction, refdir].
• If direction is specified with Plane[p1, p2, p3] and refdir is unspecified then the reference direction of the axis is Line[p1, p2].
• Reference directions are used by some constraints to control the spin of a body about axis.
• Unspecified reference directions are chosen automatically. For example, ReferenceDirection[Axis[{0, 0, 0}, {1, 0, 0}]] returns {0, 1, 0}
• See also:
Axis, Line, Plane.

Further Examples

Load the Modeler3D package.

In[1]:=

The reference direction of an axis can be specified explicitly.

In[2]:=
Out[2]=
In[3]:=
Out[3]=

The reference direction of a plane is the vector from the plane's first to second points.

In[4]:=
Out[4]=

Unspecified reference directions are chosen automatically.

In[5]:=
Out[5]=

The setting of $MechUseMinimalRotation affects the choice of unspecified reference directions.

In[6]:=
Out[7]=


  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Facebook X Twitch LinkedIn YouTube Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English
  • en