CenterLineProfile
Visão geral
CenterLineProfile é uma classe em Aspose.3D FOSS para Python. Herda de: Profile.
Perfil de linha central compatível com IFC.
Esta classe declara 8 métodos para objetos CenterLineProfile em programas Python. Os métodos disponíveis incluem: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Todos os membros públicos são acessíveis a qualquer aplicação Python após a instalação do pacote Aspose.3D FOSS para Python. Propriedades: curve, excluded, name, parent_node, parent_nodes, properties, e mais 2.
Propriedades
| Nome | Tipo | Acesso | Descrição |
|---|---|---|---|
curve | 'Curve' | Leitura/Escrita | Obtém ou define a curva. |
thickness | float | Leitura/Escrita | Obtém ou define a espessura. |
parent_nodes | List['Node'] | Leitura | Obtém os nós pai. |
parent_node | Optional['Node'] | Leitura/Escrita | Obtém ou define o nó pai. |
excluded | bool | Leitura/Escrita | Obtém ou define o excluído. |
scene | `` | Leitura/Escrita | Obtém ou define a cena. |
name | str | Leitura/Escrita | Obtém ou define o nome. |
properties | PropertyCollection | Leitura | Obtém as propriedades. |
Métodos
| Assinatura | Descrição |
|---|---|
__init__(name: str, curve: 'Curve', thickness: float) | Calls init(nome, curva, espessura) nesta instância de CenterLineProfile. |
__init__(name: str) | Calls init(nome) nesta instância de CenterLineProfile. |
get_entity_renderer_key() | Retorna a chave do renderizador de entidade. |
get_bounding_box() → BoundingBox | Não implementado na edição FOSS — lança em tempo de execução. Retorna a caixa delimitadora. |
find_property(property_name: str) | Chama find_property(property_name) nesta instância de CenterLineProfile. |
get_property(property: str) | Chama get_property(property) nesta instância de CenterLineProfile. |
set_property(property: str, value) | Define o valor da propriedade. |
remove_property(property) | Chama remove_property(property) nesta instância de CenterLineProfile. |