#include <c4d_cpolygon.h>
Public Member Functions | |
| CPolygon (Int32 t_a, Int32 t_b, Int32 t_c) | |
| CPolygon (Int32 t_a, Int32 t_b, Int32 t_c, Int32 t_d) | |
| Int32 & | operator[] (Int32 index) const |
Public Attributes | |
| Int32 | a |
| Int32 | b |
| Int32 | c |
| Int32 | d |
Represents a polygon that can be either a triangle or quadrangle.
Constructs a triangle.
| [in] | t_a | Index of the first point in the polygon. |
| [in] | t_b | Index of the second point in the polygon. |
| [in] | t_c | Index of the third point in the polygon. |
Constructs a quadrangle.
| [in] | t_a | Index of the first point in the polygon. |
| [in] | t_b | Index of the second point in the polygon. |
| [in] | t_c | Index of the third point in the polygon. |
| [in] | t_d | Index of the third point in the polygon. |
| Int32 a |
Index of the first point in the polygon.
| Int32 b |
Index of the second point in the polygon.
| Int32 c |
Index of the third point in the polygon.
| Int32 d |
Index of the fourth point in the polygon.