Class Shape

java.lang.Object
com.agisoft.metashape.Shape

public class Shape
extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Shape

      public Shape​(long cPtr, boolean cMemoryOwn)
    • Shape

      public Shape​(Shape shape)
  • Method Details

    • getCPtr

      public static long getCPtr​(Shape obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • cArrayUnwrap

      public static long[] cArrayUnwrap​(Shape[] arrayWrapper)
    • cArrayWrap

      public static Shape[] cArrayWrap​(long[] cArray, boolean cMemoryOwn)
    • getKey

      public int getKey()
      Shape identifier.
    • setType

      public void setType​(Shape.Type type)
      Shape type.
    • getType

      public Shape.Type getType()
      Shape type.
    • setBoundaryType

      public void setBoundaryType​(Shape.BoundaryType type)
      Shape boundary type.
    • getBoundaryType

      public Shape.BoundaryType getBoundaryType()
      Shape boundary type.
    • setLabel

      public void setLabel​(String label)
      Shape label.
    • getLabel

      public String getLabel()
      Shape label.
    • setSelected

      public void setSelected​(boolean state)
      Selects/deselects the shape.
    • isSelected

      public boolean isSelected()
      Selects/deselects the shape.
    • setGroup

      public void setGroup​(ShapeGroup group)
      Shape group.
    • getGroup

      public ShapeGroup getGroup()
      Shape group.
    • resize

      public void resize​(long size)
    • getSize

      public long getSize()
    • setVertex

      public void setVertex​(long index, Vector3d vertex)
    • getVertex

      public Vector3d getVertex​(long index)
    • setZEnabled

      public void setZEnabled​(boolean enabled)
      Z enable flag.
    • isZEnabled

      public boolean isZEnabled()
      Z enable flag.