Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Commands
                        • Geometry
                        • Geometry

                        Line

                        Reading time: 1min

                        It constructs a line.

                        Syntax

                        line(Point, Point)
                        
                        line(Point, Vector)
                        
                        line(Point, Real)
                        
                        line(Vector)
                        
                        line(Equation)
                        
                        line(Real, Real)
                        
                        line(Segment)
                        
                        line(Triangle, Integer)
                        
                        line(Polygon, Integer)
                        

                        Description

                        Given two points A and B, it constructs a line passing through such points. You can also extract the corresponding coefficients through the slope() and intersect() commands.

                        Given a point A and a vector v, it constructs a line passing through A with direction vector v.

                        Given a point A and a real m, it constructs a line passing through A with slope m.

                        Given a vector c=[c1,c2,c3], it constructs a line whose equation is c1x+c2y+c3=0.

                        Given an equation or equations, it constructs a line whose equation(s) are the ones we have provided.

                        Given two reals a and b (or one real and one infinity), it constructs the line that intersect with x-axis at x=a and with y-axis at y=b.

                        Given a segment, it constructs a line that contains it.

                        Given a triangle and an integer n, it constructs the line that contains the n-th edge.

                        Given a polygon or polygon and an integer n, it constructs the line that contains the n-th edge.

                        Was this article helpful?

                        Yes
                        No
                        Give feedback about this article

                        Related Articles

                        • Geometry
                        • Amplitude
                        • Angle
                        • Append
                        • Arc

                        Line

                        Syntax Description

                        Making people’s STEM work more meaningful

                        MathType

                        • MathType for Office Tools
                        • MathType for Mac
                        • MathType for Microsoft 365
                        • MathType for Google Workspace
                        • MathType for LMS
                        • MathType for XML Editors
                        • Arabic notation
                        • Our products accessibility
                        • MathType is online

                        WirisQuizzes

                        Learning Lemur

                        Solutions for Education

                        • Blackboard Learn
                        • Brightspace by D2L
                        • Canvas
                        • Google Classroom
                        • Moodle
                        • Schoology

                        Solutions for Publishing Houses

                        Solutions for Technical Writers

                        Solutions for Chemistry

                        Integrations

                        • HTML Editors
                        • MathType in WordPress

                        Pricing

                        Company

                        Careers

                        Blog

                        Contact Us

                        Buy Now

                        Plugin Downloads

                        © Wiris 2025

                        • Cookie Settings
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Powered by Helpjuice
                        Expand