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

                        Regular polygon

                        Reading time: 1min

                        Constructs a regular polygon.

                        Syntax

                        regular_polygon(Integer)
                            
                        regular_polygon(Integer, Real)
                            
                        regular_polygon(Integer, Point)
                            
                        regular_polygon(Integer, Point, Real)
                            
                        regular_polygon(Integer, Segment)
                            
                        regular_polygon(Integer, Point, Point)
                            

                        Description

                        Given an integer n, constructs a regular polygon of n sides, centered at the origin, with radius 1.

                        Given an integer n and a real r, constructs a regular polygon of n sides, centered at the origin, with radius r.

                        Given an integer n and a point P, constructs a regular polygon of n sides, centered at P, with radius 1.

                        Given an integer n, a point P and a real r, constructs a regular polygon of n sides, centered at P, with radius r.

                        Given an integer n and a segment s, constructs a regular polygon of n sides with an edge matching s.

                        Given an integer n and two points P and Q, constructs a regular polygon of n sides with an edge matching the segment PQ¯.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Cosine
                        • Tangent axle
                        • Closest point

                        Regular polygon

                        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