Click or drag to resize

CommandListAppendPointAndShootLineRel(Point2D, Point2D, Double, 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(
	Point2D start,
	Point2D end,
	double exposureTime,
	IEnumerable<ushort> powerValues,
	PowerChannels powerTargetChannel = PowerChannels.Channel0
)

Parameters

start  Point2D
The relative coordinates of the start-point.
end  Point2D
The relative coordinates of the end-point.
exposureTime  Double
Time 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(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