Click or drag to resize

LaserOnMetafileCommand Class

Provides the metafile command turn on the laser for a defined number of pulses
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.VectorGraphicElement.MetafileCommandBaseMetafileCommand
    RAYLASE.Marker.VectorGraphicElement.MetafileCommandLaserOnMetafileCommand

Namespace: RAYLASE.Marker.VectorGraphicElement.MetafileCommand
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public class LaserOnMetafileCommand : BaseMetafileCommand

The LaserOnMetafileCommand type exposes the following members.

Constructors
 NameDescription
Public methodLaserOnMetafileCommandInitializes a new instance of the LaserOnMetafileCommand class
Top
Properties
 NameDescription
Public propertyIsGeometric Returns true if the command describes a path (either with jumps or marks). LaserOn commands (aka drills) are excluded.
(Inherited from BaseMetafileCommand)
Public propertyItem LaserOn has no points to return.
(Overrides BaseMetafileCommandItemInt32)
Public propertyLabel The display name of the meta file command type.
(Overrides BaseMetafileCommandLabel)
Public propertyLength The length of the vector.
(Inherited from BaseMetafileCommand)
Protected propertyMetafileCommandFactory
(Inherited from BaseMetafileCommand)
Public propertyMode Determines whether LaserOn is pulse or time based.
Public propertyPointCount The number of points accessible by the indexer.
(Inherited from BaseMetafileCommand)
Public propertyPulses Number of pulses the laser gets activated for.
Public propertySegmentEndPointPair The end points of the segment generated by this metafile command. This value functions as a cache to reduce redundant calculations.
(Inherited from BaseMetafileCommand)
Public propertyTime Time period the laser gets activated for.
Top
Methods
 NameDescription
Public methodCompareWith
(Inherited from BaseMetafileCommand)
Public methodCopyFrom Copies the property values from a given metafile command. The InvokeCommandChanged is invoked at the end.
(Inherited from BaseMetafileCommand)
Public methodCreateArc Tries to approximate the command by a circular arc.
(Inherited from BaseMetafileCommand)
Public methodCreateCubicCurves Converts the command into a list of up to four cubic curves approximating the original command element. Available only for arcs.
(Inherited from BaseMetafileCommand)
Public methodCreateEllipse Tries to approximate the command by an elliptical arc. Available only for arcs yet, creating an ellipse with both semi axes having the length of the arc's radius.

Return Value

The calculated elliptical arc.
(Inherited from BaseMetafileCommand)
Public methodCreatePolyline Creates a polyline from the command. The creation process is done in two steps: In the first step a polyline with numOfPoints points is created; this number should not be too small to have a good approximation guaranteed. In the second step all straight points are removed using the delta parameter. See CheckThreePointsOnLinearityWithDistance(dvec3, dvec3, dvec3, Double) for details.
(Inherited from BaseMetafileCommand)
Public methodCreateQuadraticCurves Converts the command into a list of up to eight quadratic curves approximating the original command element. Available only for arcs.
(Inherited from BaseMetafileCommand)
Protected methodDoCompareWith
(Overrides BaseMetafileCommandDoCompareWith(BaseMetafileCommand, PropertyMask))
Protected methodDoCopyFrom Copies extra property values from a given metafile command. This method is called from CopyFrom(BaseMetafileCommand).
(Overrides BaseMetafileCommandDoCopyFrom(BaseMetafileCommand))
Protected methodDoInvert
(Overrides BaseMetafileCommandDoInvert)
Protected methodDoInvokeCommandChanged
(Inherited from BaseMetafileCommand)
Protected methodDoSplitByLength
(Inherited from BaseMetafileCommand)
Protected methodDoTransform
(Overrides BaseMetafileCommandDoTransform(dmat4))
Protected methodDoUpdateEndPoint
(Overrides BaseMetafileCommandDoUpdateEndPoint(dvec3))
Public methodGenerateCommandPoints Generates a list of points that are significant to the shape.
(Inherited from BaseMetafileCommand)
Public methodGetTransformedLength Returns the length of the transformed vector.
(Inherited from BaseMetafileCommand)
Protected methodInvokeCommandChanged
(Inherited from BaseMetafileCommand)
Public methodIsEqual Checks if two objects of type BaseMetafileCommand (or a derived class) are equal to each other. All position values must differ less than delta d to be considered as equal. Angles, axes ratios and the check on collinearity of lines are using the fixed value 0.01 rad.
(Overrides BaseMetafileCommandIsEqual(Object, Double))
Public methodSetZCoordsToZero Sets all z-coordinates in this object to zero.
(Inherited from BaseMetafileCommand)
Public methodShowUI(String)
(Inherited from BaseMetafileCommand)
Public methodShowUI(String, PropertyMask)
(Overrides BaseMetafileCommandShowUI(String, PropertyMask))
Public methodShowUICallback
(Overrides BaseMetafileCommandShowUICallback(BaseMetafileCommandView))
Public methodSplitByLength Splits the command at the provided length.
(Inherited from BaseMetafileCommand)
Public methodSplitByTime Splits the command after the provided time.
Public methodSplitIntoTwo Creates two adjacent commands of the same type at the same position in a way that the two commands can replace the original.
(Inherited from BaseMetafileCommand)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodUpdateEndPoint Updates the start and end points of this command based on a given starting point.
(Inherited from BaseMetafileCommand)
Top
Events
 NameDescription
Public eventCommandChanged Raised whenever a metafile command is changed.
(Inherited from BaseMetafileCommand)
Top
See Also