• Mathematics
    VectorsMatricesVector SpaceAlgebraCalculusLogicAnalytic GeometryStatistics & ProbabilityGeometrySpecial Functions
    Physics
    MechanicsUnits & Constants
    Electronics
    Circuits
    Computer Science
    EncodingComputerLanguagesComputer Networks
    Machine Learning
    ClusteringOptimizationRegressionKernels
    AI
    Neural Network
    Finance
    OptionsFixed IncomeMarket Analysis
    Help
    Contact usIndexSearchVersion historyFormula Syntax
    Practice Quiz
    LoginUser
  • Mathematics
    Analytic Geometry: Polygon
    • Vectors
      • Matrices
        • Vector Space
          • Algebra
            • Calculus
              • Logic
                • Analytic Geometry
                  • Distance of a Point
                  • Polygon
                  • 2D Rotation
                  • 3D Rotation
                • Statistics & Probability
                  • Geometry
                    • Special Functions

                      Generating Random Convex Polygon

                      Generate a set of n points that from a convex polygon with n.
                      • First, specify the number of vertices n.
                      • By default, all of the created vertices will ve within the box with coordinates of upper left corner (-1,1> and lower right corner (1,-1),
                        with one of the vertices in the origin (0,0).
                      • If you check the "Maximum Radius" box, then you can specify the maximum distance R that any vertext will have from the center of the polygon.
                      • "Inscribed in a Circle" box is enabled (available) only if the "Maximum Radius" box is checked. If you check it, then all of the generated
                        vertices will be on the circle with the radius specified as the Maximum Radius R.
                      • Alternatively, you can check the "Minimum Radius" box. If selected, all vertices of the polygon will have their distance d from the center of the
                        polygon greater than minimal radius r and smaller than maximum radius R, with at least one of them having d = R and another one having d = r .
                      • If you specify any radius, then, by default, polygon will be centered around origin point (0,0). However, you can alternatively specify a diffenet
                        point (x,y) around which the polygon will be centered.
                      Number of vertices n:Maximum Radius
                      Inscribed in a Circle
                      Minimum Radius
                      Centered around     (x,y)   =   ( , )
                      Polygon Vertices:
                      XY