CircleShape
Panoramica
CircleShape è una classe in Aspose.3D FOSS per Java. Eredita da: ParameterizedProfile.
Profilo circolare compatibile IFC, che può essere usato per costruire una mesh tramite LinearExtrusion.
Questa classe fornisce 28 metodi per lavorare con oggetti CircleShape nei programmi Java. I metodi disponibili includono: A3DObject, CircleShape, Entity, ParameterizedProfile, Profile, SceneObject, findProperty, getBoundingBox, getEntityRendererKey, getExcluded, getExtent, getName, e 12 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.3D FOSS per Java. Proprietà: boundingBox, entityRendererKey, excluded, extent, name, parentNode, e 4 in più.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
radius | double | Lettura | Ottiene il raggio del cerchio. |
extent | Vector2 | Lettura | Restituisce l’estensione nelle dimensioni x e y. |
boundingBox | BoundingBox | Lettura | Ottiene il bounding box. |
parentNode | Node | Lettura | Ottiene il nodo genitore. |
parentNodes | ArrayList<Node> | Lettura | Ottiene i nodi genitori. |
excluded | boolean | Lettura | Ottiene l’escluso. |
entityRendererKey | EntityRendererKey | Lettura | Ottiene la chiave del renderer dell’entità. |
scene | Scene | Lettura | Ottiene la scena. |
name | String | Lettura | Ottiene il nome. |
properties | PropertyCollection | Lettura | Ottiene le proprietà. |
Metodi
| Firma | Descrizione |
|---|---|
CircleShape() | Costruisce un profilo CircleShape con raggio predefinito (5). |
CircleShape(radius: double) | Costruisce un profilo CircleShape con raggio specificato. |
getRadius() → double | Ottiene il raggio del cerchio. |
setRadius(value: double) | Imposta il raggio del cerchio. |
getExtent() → Vector2 | Ottiene l’estensione nelle dimensioni x e y. |
ParameterizedProfile() | Costruttore. |
Profile() | Costruttore. |
getBoundingBox() → BoundingBox | Restituisce il bounding box. |
Entity(name: String) | Chiama Entity(name) su questa istanza di CircleShape. |
getParentNode() → Node | Restituisce il nodo genitore. |
setParentNode(value: Node) | Imposta il valore del nodo padre. |
getParentNodes() → ArrayList<Node> | Restituisce i nodi genitori. |
getExcluded() → boolean | Restituisce l’escluso. |
setExcluded(value: boolean) | Imposta il valore escluso. |
getEntityRendererKey() → EntityRendererKey | Restituisce la chiave del renderer dell’entità. |
SceneObject() | Profilo circolare compatibile IFC, che può essere usato per costruire una mesh tramite LinearExtrusion. |
SceneObject(name: String) | Chiama SceneObject(name) su questa istanza di CircleShape. |
getScene() → Scene | Restituisce la scena. |
A3DObject() | Chiama A3DObject su questa istanza CircleShape. |
A3DObject(name: String) | Chiama A3DObject(name) su questa istanza CircleShape. |
getName() → String | Restituisce il nome. |
setName(name: String) | Costruisce un profilo CircleShape con raggio specificato. |
getProperties() → PropertyCollection | Restituisce le proprietà. |
findProperty(name: String) → Property | Chiama findProperty(name) su questa istanza CircleShape. |
getProperty(name: String) → Object | Chiama getProperty(name) su questa istanza CircleShape. |
setProperty(name: String, value: Object) | Imposta il valore della proprietà. |
removeProperty(name: String) → boolean | Chiama removeProperty(name) su questa istanza di CircleShape. |
removeProperty(property: Property) → boolean | Chiama removeProperty(property) su questa istanza di CircleShape. |