Lingkaran
Inheritance: java.lang.Object, com.aspose.threed.A3DObject, com.aspose.threed.SceneObject, com.aspose.threed.Entity, com.aspose.threed.Curve
public class Circle extends Curve
Sebuah Circle kurva terdiri dari sekumpulan titik di tepi bentuk lingkaran.
Konstruktor
| Konstruktor | Deskripsi |
|---|---|
| Circle() | Konstruktor dari Circle |
| Circle(double radius) | Konstruktor dari Circle |
Metode
| Metode | Deskripsi |
|---|---|
| equals(Object arg0) | |
| findProperty(String propertyName) | Menemukan properti. |
| getBoundingBox() | Mendapatkan kotak pembatas entitas saat ini dalam sistem koordinat ruang objeknya. |
| getClass() | |
| getColor() | Mendapatkan warna garis, nilai default adalah putih(1, 1, 1) |
| getEntityRendererKey() | Mendapatkan kunci renderer entitas yang terdaftar di renderer |
| getExcluded() | Mendapatkan apakah entitas ini akan dikecualikan saat mengekspor. |
| getName() | Mendapatkan nama. |
| getParentNode() | Mendapatkan node induk pertama, jika menetapkan node induk pertama, entitas ini akan dipisahkan dari node induk lainnya. |
| getParentNodes() | Mendapatkan semua node induk, sebuah entitas dapat dilampirkan ke beberapa node induk untuk instansi geometri |
| getProperties() | Mendapatkan koleksi semua properti. |
| getProperty(String property) | Dapatkan nilai properti yang ditentukan |
| getRadius() | Radius kurva lingkaran, nilai default adalah 10 |
| getScene() | Mendapatkan adegan yang dimiliki objek ini |
| hashCode() | |
| notify() | |
| notifyAll() | |
| removeProperty(Property property) | Menghapus properti dinamis. |
| removeProperty(String property) | Hapus properti yang ditentukan yang diidentifikasi dengan nama |
| setColor(Vector3 value) | Mengatur warna garis, nilai default adalah putih(1, 1, 1) |
| setExcluded(boolean value) | Mengatur apakah entitas ini akan dikecualikan saat mengekspor. |
| setName(String value) | Mengatur nama. |
| setParentNode(Node value) | Mengatur node induk pertama, jika mengatur node induk pertama, entitas ini akan dipisahkan dari node induk lainnya. |
| setProperty(String property, Object value) | Mengatur nilai properti yang ditentukan |
| setRadius(double value) | Radius kurva lingkaran, nilai default adalah 10 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Circle()
public Circle()
Konstruktor dari Circle
Circle(double radius)
public Circle(double radius)
Konstruktor dari Circle
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| radius | double | Radius kurva lingkaran. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
Menemukan properti. Itu dapat menjadi properti dinamis (Dibuat oleh CreateDynamicProperty/SetProperty) atau properti asli (Diidentifikasi dengan namanya)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| propertyName | java.lang.String | Nama properti. |
Returns: Property - The property.
getBoundingBox()
public BoundingBox getBoundingBox()
Mendapatkan kotak pembatas entitas saat ini dalam sistem koordinat ruang objeknya.
Returns: BoundingBox - the bounding box of current entity in its object space coordinate system. Example: The following code shows how to calculate the bounding box of a shape
Entity entity = new Sphere();
entity.setRadius(10);
var bbox = entity.getBoundingBox();
System.out.printf("The bounding box of the entity is %s ~ %s", bbox.getMinimum(), bbox.getMaximum());
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public Vector3 getColor()
Mendapatkan warna garis, nilai default adalah putih(1, 1, 1)
Returns: Vector3 - the color of the line, default value is white(1, 1, 1)
getEntityRendererKey()
public EntityRendererKey getEntityRendererKey()
Mendapatkan kunci renderer entitas yang terdaftar di renderer
Returns: EntityRendererKey
getExcluded()
public boolean getExcluded()
Mendapatkan apakah entitas ini akan dikecualikan saat mengekspor.
Returns: boolean - apakah entitas ini akan dikecualikan saat mengekspor.
getName()
public String getName()
Mendapatkan nama.
Returns: java.lang.String - nama.
getParentNode()
public Node getParentNode()
Mendapatkan node induk pertama, jika menetapkan node induk pertama, entitas ini akan dipisahkan dari node induk lainnya.
Returns: Node - the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
getParentNodes()
public ArrayList<Node> getParentNodes()
Mendapatkan semua node induk, sebuah entitas dapat dilampirkan ke beberapa node induk untuk instansi geometri
Returns: java.util.ArrayList<com.aspose.threed.Node> - semua node induk, sebuah entitas dapat terhubung ke beberapa node induk untuk instansi geometri
getProperties()
public PropertyCollection getProperties()
Mendapatkan koleksi semua properti.
Returns: PropertyCollection - the collection of all properties.
getProperty(String property)
public Object getProperty(String property)
Dapatkan nilai properti yang ditentukan
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| properti | java.lang.String | Nama properti |
Returns: java.lang.Object - Nilai dari properti yang ditemukan
getRadius()
public double getRadius()
Radius kurva lingkaran, nilai default adalah 10
Returns: double - Radius kurva lingkaran, nilai default adalah 10
getScene()
public Scene getScene()
Mendapatkan adegan yang dimiliki objek ini
Returns: Scene - the scene that this object belongs to
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
Menghapus properti dinamis.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| property | Property | Properti mana yang akan dihapus |
Returns: boolean - true jika properti berhasil dihapus
removeProperty(String property)
public boolean removeProperty(String property)
Hapus properti yang ditentukan yang diidentifikasi dengan nama
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| properti | java.lang.String | Properti mana yang akan dihapus |
Returns: boolean - true jika properti berhasil dihapus
setColor(Vector3 value)
public void setColor(Vector3 value)
Mengatur warna garis, nilai default adalah putih(1, 1, 1)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| value | Vector3 | Nilai baru |
setExcluded(boolean value)
public void setExcluded(boolean value)
Mengatur apakah entitas ini akan dikecualikan saat mengekspor.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| nilai | boolean | Nilai baru |
setName(String value)
public void setName(String value)
Mengatur nama.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| nilai | java.lang.String | Nilai baru |
setParentNode(Node value)
public void setParentNode(Node value)
Mengatur node induk pertama, jika mengatur node induk pertama, entitas ini akan dipisahkan dari node induk lainnya.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| value | Node | Nilai baru |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
Mengatur nilai properti yang ditentukan
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| properti | java.lang.String | Nama properti |
| nilai | java.lang.Object | Nilai properti |
setRadius(double value)
public void setRadius(double value)
Radius kurva lingkaran, nilai default adalah 10
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| nilai | double | Nilai baru |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long | |
| arg1 | int |