RectangleShape

RectangleShape

Panoramica

RectangleShape è una classe in Aspose.3D FOSS per Python. Eredita da: ParameterizedProfile.

Profilo rettangolare compatibile IFC.

Questa classe dichiara 9 metodi per oggetti RectangleShape nei programmi Python. I metodi disponibili includono: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, get_property, remove_property, set_property. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Python dopo aver installato il pacchetto Aspose.3D FOSS per Python. Proprietà: depth, excluded, name, parent_node, parent_nodes, properties, e 2 altri.

Proprietà

NomeTipoAccessoDescrizione
widthfloatLettura/ScritturaOttiene o imposta la larghezza.
depthfloatLettura/ScritturaOttiene o imposta la profondità.
parent_nodesList['Node']LetturaOttiene i nodi genitori.
parent_nodeOptional['Node']Lettura/ScritturaOttiene o imposta il nodo genitore.
excludedboolLettura/ScritturaOttiene o imposta l’escluso.
scene``Lettura/ScritturaOttiene o imposta la scena.
namestrLettura/ScritturaOttiene o imposta il nome.
propertiesPropertyCollectionLetturaOttiene le proprietà.

Metodi

FirmaDescrizione
__init__(name: str, width: float, depth: float)Calls init(name, width, depth) su questa istanza RectangleShape.
get_extent() → 'Vector2'Restituisce l’estensione nelle dimensioni x e y.
__init__(name: str)Calls init(name) su questa istanza RectangleShape.
get_entity_renderer_key()Restituisce la chiave entity renderer.
get_bounding_box() → BoundingBoxNon implementato nell’edizione FOSS — lancia a runtime. Restituisce il bounding box.
find_property(property_name: str)Chiama find_property(property_name) su questa istanza di RectangleShape.
get_property(property: str)Chiama get_property(property) su questa istanza di RectangleShape.
set_property(property: str, value)Imposta il valore della proprietà.
remove_property(property)Chiama remove_property(property) su questa istanza di RectangleShape.

Vedi anche

 Italiano