EllipseShape
Przegląd
EllipseShape jest klasą w Aspose.3D FOSS dla Python. Dziedziczy po: ParameterizedProfile.
Profil elipsy zgodny z IFC.
Ta klasa deklaruje 9 metod dla obiektów EllipseShape w programach Python. Dostępne metody to: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, get_property, remove_property, set_property. Wszystkie publiczne członki są dostępne dla dowolnej aplikacji Python po zainstalowaniu pakietu Aspose.3D FOSS dla Python. Właściwości: excluded, name, parent_node, parent_nodes, properties, scene oraz 2 dodatkowe.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
semi_axis1 | float | Odczyt/zapis | Pobiera lub ustawia półosię 1. |
semi_axis2 | float | Odczyt/zapis | Pobiera lub ustawia półosię2. |
parent_nodes | List['Node'] | Odczyt | Pobiera węzły nadrzędne. |
parent_node | Optional['Node'] | Odczyt/zapis | Pobiera lub ustawia węzeł nadrzędny. |
excluded | bool | Odczyt/zapis | Pobiera lub ustawia wykluczone. |
scene | `` | Odczyt/zapis | Pobiera lub ustawia scenę. |
name | str | Odczyt/zapis | Pobiera lub ustawia nazwę. |
properties | PropertyCollection | Odczyt | Pobiera właściwości. |
Metody
| Sygnatura | Opis |
|---|---|
__init__(name: str, semi_axis1: float, semi_axis2: float) | Calls init(name, semi_axis1, semi_axis2) w tej instancji EllipseShape. |
get_extent() → 'Vector2' | Zwraca zakres w wymiarach x i y. |
__init__(name: str) | Calls init(name) w tej instancji EllipseShape. |
get_entity_renderer_key() | Zwraca klucz renderera encji. |
get_bounding_box() → BoundingBox | Niezaimplementowane w edycji FOSS — rzuca wyjątek w czasie działania. Zwraca ramkę ograniczającą. |
find_property(property_name: str) | Wywołuje find_property(property_name) na tej instancji EllipseShape. |
get_property(property: str) | Wywołuje get_property(property) na tej instancji EllipseShape. |
set_property(property: str, value) | Ustawia wartość właściwości. |
remove_property(property) | Wywołuje remove_property(property) na tej instancji EllipseShape. |