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

                    • Home
                    • CalcMe
                    • Commands
                    • Geometry
                    • Geometry

                    Segment

                    Reading time: 1min

                    Constructs a segment.

                    Syntax

                    segment(Point, Point)
                    
                    segment(Point, Vector)
                    
                    segment(Triangle, Integer)
                    
                    segment(Polygon | Polygonal, Integer)
                    
                    segment(Point)
                    
                    segment(Vector)
                    
                    segment(Line)
                    

                    Description

                    Given two points A and B, constructs the segment AB¯.

                    Given a point A and a vector v, constructs the segment AB¯, where B=A+v.

                    Following the usual notation for a triangle: vertices A1, A2 and A3 and sides a1, a2 and a3; given an integer i, this function returns the segment ai.

                    Given a polygon or polygonal p and an integer i, returns the i-th side of p.

                    Given a point P, constructs the segment OP¯.

                    Given a vector v, constructs the segment OP¯, where P=O+v

                    Returns a segment that belongs to the given line.

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Geometry
                    • Amplitude
                    • Angle
                    • Append
                    • Arc

                    Segment

                    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 Preferences
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand