Package com.agisoft.metashape
Class Shape
java.lang.Object
com.agisoft.metashape.Shape
public class Shape extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShape.BoundaryTypestatic classShape.Type -
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static long[]cArrayUnwrap(Shape[] arrayWrapper)static Shape[]cArrayWrap(long[] cArray, boolean cMemoryOwn)voiddelete()protected voidfinalize()Shape.BoundaryTypegetBoundaryType()Shape boundary type.static longgetCPtr(Shape obj)ShapeGroupgetGroup()Shape group.intgetKey()Shape identifier.StringgetLabel()Shape label.longgetSize()Shape.TypegetType()Shape type.Vector3dgetVertex(long index)booleanisSelected()Selects/deselects the shape.booleanisZEnabled()Z enable flag.voidresize(long size)voidsetBoundaryType(Shape.BoundaryType type)Shape boundary type.voidsetGroup(ShapeGroup group)Shape group.voidsetLabel(String label)Shape label.voidsetSelected(boolean state)Selects/deselects the shape.voidsetType(Shape.Type type)Shape type.voidsetVertex(long index, Vector3d vertex)voidsetZEnabled(boolean enabled)Z enable flag.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Shape
public Shape(long cPtr, boolean cMemoryOwn) -
Shape
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
cArrayUnwrap
-
cArrayWrap
-
getKey
public int getKey()Shape identifier. -
setType
Shape type. -
getType
Shape type. -
setBoundaryType
Shape boundary type. -
getBoundaryType
Shape boundary type. -
setLabel
Shape label. -
getLabel
Shape label. -
setSelected
public void setSelected(boolean state)Selects/deselects the shape. -
isSelected
public boolean isSelected()Selects/deselects the shape. -
setGroup
Shape group. -
getGroup
Shape group. -
resize
public void resize(long size) -
getSize
public long getSize() -
setVertex
-
getVertex
-
setZEnabled
public void setZEnabled(boolean enabled)Z enable flag. -
isZEnabled
public boolean isZEnabled()Z enable flag.
-