BaseMarkableJobElementSplitAtPlane(FuncBaseMarkableJobElement, dvec2, dvec2, dmat4, MarkingMode, Double, Double) Method |
Splits the job element along the plate that is perpendicular to the XY plane and traversing the line defined by the two points.
Namespace: RAYLASE.Marker.JobElementAssembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntaxpublic (BaseMarkableJobElement Split1, BaseMarkableJobElement Split2) SplitAtPlane(
Func<BaseMarkableJobElement> jobElementFactory,
dvec2 p0,
dvec2 p1,
dmat4 transformation,
MarkingMode markingMode,
double deltaPositiveSide = 0,
double deltaNegativeSide = 0
)
Parameters
- jobElementFactory FuncBaseMarkableJobElement
- The factory to create each job element of the split result.
- p0 dvec2
- Point on the plane.
- p1 dvec2
- Point on the plane.
- transformation dmat4
- Transformation of the job element.
- markingMode MarkingMode
- Defines if outline and/or filling should be processed. In case marking mode contains filling, it will be converted to outline.
- deltaPositiveSide Double (Optional)
- Delta towards the positive side, if splitting should be done between to plane to minimize cuts.
- deltaNegativeSide Double (Optional)
- Delta towards the negative side.
Return Value
ValueTupleBaseMarkableJobElement,
BaseMarkableJobElementReturns two split job elements. The first one is on the left side of the line from p0 to p1.
See Also