Programming API Reference: EduGraf.Shapes

Class public static Circle

Geometric representation of a circle by triangles indexing distinct vertices.

Method public static float[] GetCakePositions()

Return a triangulation with a single center vertex and all other vertices on the circle boundary.
  • int sectors

Method public static ushort[] GetCakeTriangles()

Return a triangulation with a single center vertex and all other vertices on the circle boundary.
  • int sectors

Method public static float[] GetIsoPositions()

Return a triangulation splitting up the circle in a number of rings each having the form of a stripe of equilateral triangles.
  • int rings

Method public static ushort[] GetIsoTriangles()

Return a triangulation splitting up the circle in a number of rings each having the form of a stripe of equilateral triangles.
  • int rings