THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/03/2004 at 05:08, xxxxxxxx wrote:
Cinema 4D Version: 8.503
Language(s) : C++ ;
a splineobject is passed as a lineobject to the ModifyObject function. Is there a fast way to receive the corresponding splineobject from this lineobject or do I need to get it manually?
On 04/03/2004 at 05:12, xxxxxxxx wrote:
Ok, I get the original splineobject from the modifier->Getup(). Works fine. But if there is a more convenient way (that is faster than getting the parent of the modifier) I would be glad to know.
On 06/03/2004 at 05:04, xxxxxxxx wrote:
Have you verified that GetUp() is really a bottleneck in your code?
On 06/03/2004 at 05:10, xxxxxxxx wrote:
What does bottleneck mean? (the translation I know for it doesn´t make sense
On 06/03/2004 at 05:19, xxxxxxxx wrote:
Bottleneck in the figurative sense, i.e. the narrowest part of the bottle that limits the rate that you can drink the liquid. The programming meaning is the part of your code that slows down the rest. For example, any code in the inner loop is a good candidate for being the bottleneck, while anything that's only executed once is less likely. GetUp() sounds like it should be a fairly fast function, so I wondered what you meant by "faster than getting the parent of the modifier".
On 06/03/2004 at 09:31, xxxxxxxx wrote:
Ah thanks for the explanation. Well, I meant IF there is a function, for example if there is a convenience function to get the original spline from the lineobject that is passed to the ModifyObject function.
like op->GetSpline() or something (this is imaginary but I wondered if there is a function like this, though I couldn´t find anything in the docs)
But your answer lets me conclude that there is none.