Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Commands
                        • Geometry
                        • Geometry

                        Vector

                        Reading time: 1min

                        Constructs a vector or returns a vector of an object.

                        Syntax

                        vector(Point, Point)
                        
                        vector(Point)
                        
                        vector(Segment)
                        
                        vector(Line)
                        
                        vector(Plane)
                        

                        Description

                        Given two points A, B, constructs the vector 

                        Given a point A, constructs the vector 

                        Given a segment with endpoints A and B, constructs the vector 

                        Given a line, returns the direction vector.

                        Given a plane with equation Ax+By+Cz+D=0, returns a vector with coefficients [A,B,C,D].

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Amplitude
                        • Angle
                        • Append
                        • Arc
                        • Area

                        Vector

                        Syntax Description

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand