Click or drag to resize

CommandListAppendPointAndShootLineRel(Point2D, Point2D, IEnumerableDouble, UInt16, PowerChannels) Method

Marks a line of pixels from the current position to that described by the given relative co-ordinates, using the Point-And-Shoot algorithm.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.6.0
Syntax
C#
public void AppendPointAndShootLineRel(
	Point2D start,
	Point2D end,
	IEnumerable<double> exposureTimes,
	ushort powerValue,
	PowerChannels powerTargetChannel = PowerChannels.Channel0
)

Parameters

start  Point2D
The relative coordinates of the start-point.
end  Point2D
The relative coordinates of the end-point.
exposureTimes  IEnumerableDouble
Times in μs for the Laser to stay on.
powerValue  UInt16
One pixel power value that applies for the whole line.
powerTargetChannel  PowerChannels  (Optional)
The output channel.
Remarks

The exposure level can vary at each pixel position according to the specified pixel-levels.

In contrast to AppendBitmapLineAbs(Point2D, Point2D, IEnumerableUInt16, PowerChannels), the Point And Shoot algorithm is used when laser pulses are to be fired at each individual pixel position with the laser beam held stationary at that position.

Note that this command, unusually, requires the start-point as well as the end-point coordinates.

See Also