BREP
facet_list
at(index: int) -> vertex_list
at
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
vertex_list
|
point_3d |
count() -> int
count
Returns:
| Type | Description |
|---|---|
int
|
int |
get_distance_to_origin(index: int) -> float
get distance to origin
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
float
|
float |
get_external_polygon(index: int) -> vertex_list
get external polygon
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
vertex_list
|
vertex_list |
get_external_polygon_for_reference_face() -> vertex_list
get_internal_polygons(index: int) -> polygon_list
get internal polygons
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
polygon_list
|
polygon_list |
get_internal_polygons_for_reference_face() -> polygon_list
get_normal_vector(index: int) -> point_3d
get normal vector
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
point_3d
|
point_3d |
get_vertices_for_reference_face() -> vertex_list
edge_list
at(index: int) -> point_3d
at
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
point_3d
|
point_3d |
count() -> int
count
Returns:
| Type | Description |
|---|---|
int
|
int |
polygon_list
at(index: int) -> vertex_list
Returns the polygon vertices at the given index.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
The zero-based polygon index. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
vertex_list |
vertex_list
|
The ordered vertices defining the polygon. |
count() -> int
Returns the number of polygons in the list.
Returns: int
vertex_list
append(vertex: point_3d) -> None
append
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
vertex
|
point_3d
|
vertex |
required |
Returns:
| Type | Description |
|---|---|
None
|
None |
at(index: int) -> point_3d
at
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int
|
index |
required |
Returns:
| Type | Description |
|---|---|
point_3d
|
point_3d |
count() -> int
count
Returns:
| Type | Description |
|---|---|
int
|
int |