public interface DirectionNodeConfigBuilder
DirectionNodeConfigBuilder instance.
  
  For any configuration parameter where a value is not specified (using the corresponding set method), a default value
  will be used when the new configuration is built whereas the original value will be used when an existing configuration
  was copied using the copyFrom(DirectionNodeConfig) method.
  
  
  DirectionNodeConfig newConfig = configBuilder.setFeature(feature)
                                               .setDirection(DirectionAxis.X_PLUS)
                                               .build();
  
  
  To change the feature selection in the current configuration, use the following code snippet to build a new updated
  configuration:
  
  
   configBuilder.copyFrom(currentConfig);
   DirectionNodeConfig updatedConfig = configBuilder.setFeature(feature)
                                                    .build();
  
  | Modifier and Type | Method and Description | 
|---|---|
DirectionNodeConfig | 
build()
 Build the configuration for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
copyFrom(DirectionNodeConfig source)
Copy values from one configuration (source) to another (this) builder. 
 | 
DirectionNodeConfigBuilder | 
setDirection(DirectionAxis.Axis axis)
Sets the direction for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
setDirection(Expression expression)
Sets the direction for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
setFeature(Feature feature)
Set feature for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
setSharedFeature()
Sets shared feature for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
setSharedToolMotionParameters()
Sets shared tool motion parameters for a Direction node. 
 | 
DirectionNodeConfigBuilder | 
setToolMotionParameters(Speed toolSpeed,
                       ErrorHandler<Speed> toolSpeedErrorHandler,
                       Acceleration toolAcceleration,
                       ErrorHandler<Acceleration> toolAccelerationErrorHandler)
Sets tool motion parameters for a Direction node. 
 | 
DirectionNodeConfigBuilder copyFrom(DirectionNodeConfig source)
source - the original configuration to copy values from.DirectionNodeConfigBuilder setSharedToolMotionParameters()
DirectionNodeConfigBuilder setToolMotionParameters(Speed toolSpeed, ErrorHandler<Speed> toolSpeedErrorHandler, Acceleration toolAcceleration, ErrorHandler<Acceleration> toolAccelerationErrorHandler)
toolSpeed - the tool speed to be achieved, not null.toolSpeedErrorHandler - error handler for handling validation. If using ErrorHandler.AUTO_CORRECT
                     this will clamp the value to the nearest valid tool speed value.toolAcceleration - the tool acceleration to be used for the movement, not null.toolAccelerationErrorHandler - error handler for handling validation. If using ErrorHandler.AUTO_CORRECT
                     this will clamp the value to the nearest valid tool acceleration value.DirectionNodeConfigBuilder setFeature(Feature feature)
feature - the feature for a direction node, not null.DirectionNodeConfigBuilder setSharedFeature()
DirectionNodeConfigBuilder setDirection(Expression expression)
expression - any expression that resolves to a vector (e.g. '[1.0, 0.0, 0.0]').DirectionNodeConfigBuilder setDirection(DirectionAxis.Axis axis)
axis - linear axis to move along.DirectionNodeConfig build()
Build the configuration for a Direction node.
A default configuration can be built by calling this method without invoking any of the set methods in this interface.Copyright © 2020. All rights reserved.