Class IndexedPolygon

  • Direct Known Subclasses:
    IndexedPolygonN, IndexedPolygonNN

    public class IndexedPolygon
    extends java.lang.Object
    indexed polygon class that saves N indices to the N vertices of the polygon
    • Constructor Detail

      • IndexedPolygon

        public IndexedPolygon​(long cPtr,
                              boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • get

        public int get​(long i)
      • set

        public void set​(long i,
                        int d)
      • size

        public long size()
        Number of vertices of this polygon
        Returns:
        Number of vertices