2018-04-09 09:35:04 +02:00
|
|
|
/**
|
|
|
|
* R3.API.Curve
|
2019-07-24 14:45:42 +02:00
|
|
|
* @param apiComponent
|
2018-04-09 09:35:04 +02:00
|
|
|
* @constructor
|
|
|
|
*/
|
2019-07-24 08:08:02 +02:00
|
|
|
R3.API.Curve = function(
|
2019-10-06 21:11:18 +02:00
|
|
|
apiComponent
|
2018-04-09 09:35:04 +02:00
|
|
|
) {
|
|
|
|
|
2019-10-06 21:11:18 +02:00
|
|
|
__API_COMPONENT__;
|
2018-04-09 09:35:04 +02:00
|
|
|
|
2019-10-06 21:11:18 +02:00
|
|
|
if (R3.Utils.UndefinedOrNull(apiComponent.arcLenghDivisions)) {
|
|
|
|
apiComponent.arcLenghDivisions = 200;
|
2018-04-09 09:35:04 +02:00
|
|
|
}
|
2019-10-06 21:11:18 +02:00
|
|
|
this.arcLenghDivisions = apiComponent.arcLenghDivisions;
|
|
|
|
|
2018-04-09 09:35:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
R3.API.Curve.prototype = Object.create(R3.API.Curve.prototype);
|
|
|
|
R3.API.Curve.prototype.constructor = R3.API.Curve;
|