maxon.VolumeConversionPolygon

Description

Data used, to converts c4d.PolygonObject to a Volume Polygon.

Inheritance diagram

Inheritance

Parent Class:

Attributes

maxon.VolumeConversionPolygon.a

(int) Point index matching the c4d.Cpolygon

maxon.VolumeConversionPolygon.b

(int) Point index matching the c4d.Cpolygon

maxon.VolumeConversionPolygon.c

(int) Point index matching the c4d.Cpolygon

maxon.VolumeConversionPolygon.d

(int) Point index matching the c4d.Cpolygon

maxon.VolumeConversionPolygon.size

(int) Defines the number of point used in the polygon.

Methods Signature

SetTriangle()

Defines the polygon as a triangle (d is no more used).

__getitem__(index)

Retrieves the value of the a, b, c or d component of the polygon.

__init__()

Initializes each index of the polygon to the value 4294967295.

__maxon_convert__(expected)

Methods Definition

VolumeConversionPolygon.SetTriangle()

Defines the polygon as a triangle (d is no more used).

VolumeConversionPolygon.__getitem__(index)
Retrieves the value of the a, b, c or d component of the polygon.

The component is identified by an index in the interval [0, 3].
Parameters

index (int) – The component index.

Raises

IndexError – When index does not satisfy 0 <= index < 3.

Return type

float

Returns

The polygon component.

VolumeConversionPolygon.__init__()

Initializes each index of the polygon to the value 4294967295.

VolumeConversionPolygon.__maxon_convert__(expected)