Represents a polygon.
Definition
- class c4d.CPolygon
Members
- CPolygon.a
-
Index of first point in the polygon.
Type: int
- CPolygon.b
-
Index of second point in the polygon.
Type: int
- CPolygon.c
-
Index of third point in the polygon.
Type: int
- CPolygon.d
-
Index of optional fourth point in the polygon.
Type: int
- CPolygon.__init__(t_a, t_b, t_c[, t_d])
-
Parameters: |
- t_a (int) – Index of first point in the polygon.
- t_b (int) – Index of second point in the polygon.
- t_c (int) – Index of third point in the polygon.
- t_d (int) – Index of optional fourth point in the polygon.
|
- CPolygon.__str__()
-
Returns a string representation of the CPolygon. Called if str() is wrapped around an instance of CPolygon. (see __str__).
Return type: |
str |
Returns: |
The string representation of CPolygon. |