c4d.LineObject

Definition

class c4d. LineObject

Inheritance

Members

LineObject. __init__ ( pcnt , scnt )

Allocates a line object.

Parameters:
  • pcnt ( int ) – Point count.
  • scnt ( int ) – Segment count.
Return type:

c4d.LineObject

Returns:

The new line object.

LineObject. Triangulate ( regular )

Convert the LineObject into polygons.

Parameters: regular ( float ) – The size of polygons to fill the inside of the line object with, or 0.0 to connect the contour with no filling.
Return type: c4d.PolygonObject
Returns: The created polygon object.
LineObject. GetSegmentCount ( )

Get the number of segments.

Return type: int
Returns: The number of elements in the segments array.

Table Of Contents