CenterLineProfile
Przegląd
CenterLineProfile jest klasą w Aspose.3D FOSS dla Python. Dziedziczy po: Profile.
Profil linii środkowej zgodny z IFC.
Ta klasa deklaruje 8 metod dla obiektów CenterLineProfile w programach Python. Dostępne metody to: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Wszystkie publiczne członki są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.3D FOSS dla Python. Właściwości: curve, excluded, name, parent_node, parent_nodes, properties oraz 2 dodatkowe.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
curve | 'Curve' | Odczyt/zapis | Pobiera lub ustawia krzywą. |
thickness | float | Odczyt/zapis | Pobiera lub ustawia grubość. |
parent_nodes | List['Node'] | Odczyt | Pobiera węzły nadrzędne. |
parent_node | Optional['Node'] | Odczyt/zapis | Uzyskuje 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, curve: 'Curve', thickness: float) | Calls init(name, curve, thickness) w tej instancji CenterLineProfile. |
__init__(name: str) | Calls init(name) w tej instancji CenterLineProfile. |
get_entity_renderer_key() | Zwraca klucz renderera encji. |
get_bounding_box() → BoundingBox | Niezaimplementowane w edycji FOSS — rzuca wyjątek w czasie wykonywania. Zwraca ramkę ograniczającą. |
find_property(property_name: str) | Wywołuje find_property(property_name) na tej instancji CenterLineProfile. |
get_property(property: str) | Wywołuje get_property(property) na tej instancji CenterLineProfile. |
set_property(property: str, value) | Ustawia wartość własności. |
remove_property(property) | Wywołuje remove_property(property) na tej instancji CenterLineProfile. |