Click or drag to resize

CommandListAppendPointAndShootLineRel(Double, Double, Double, Double, IEnumerableDouble, IEnumerableUInt16, 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.4.1
Syntax
C#
public void AppendPointAndShootLineRel(
	double startX,
	double startY,
	double endX,
	double endY,
	IEnumerable<double> exposureTimes,
	IEnumerable<ushort> powerValues,
	PowerChannels powerTargetChannel = PowerChannels.Channel0
)

Parameters

startX  Double
The relative x ordinate of the start-point.
startY  Double
The relative y ordinate of the start-point.
endX  Double
The relative x ordinate of the end-point.
endY  Double
The relative y ordinate of the end-point.
exposureTimes  IEnumerableDouble
Times in μs for the Laser to stay on.
powerValues  IEnumerableUInt16
The pixel power values.
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(Double, Double, Double, Double, 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