Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGFunctionMBS class.
CGFunctionMBS.Create(domainDimension as Integer, domain as memoryblock, rangeDimension as Integer, range as memoryblock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 6.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Parameters
domainDimension: The number of inputs.
domain: An array of (2*domainDimension) floats used to specify the valid intervals of input values. For each k from 0 to (domainDimension - 1), domain[2*k] must be less than or equal to domain[2*k+1], and the kth input value will be clipped to lie in the interval domain[2*k] ≤ input[k] ≤ domain[2*k+1]. If this parameter is nil, then the input values are not clipped.
rangeDimension: The number of outputs.
range: An array of (2*rangeDimension) floats that specifies the valid intervals of output values. For each k from 0 to (rangeDimension - 1), range[2*k] must be less than or equal to range[2*k+1], and the kth output value will be clipped to lie in the interval range[2*k] ≤ output[k] ≤ range[2*k+1]. If this parameter is nil, then the output values are not clipped.
Returns the new Quartz function or nil on any error.
Available in Mac OS X version 10.2 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.