BaseMarkableVectorGraphicSplitAtPlane(FuncBaseMarkableJobElement, dvec3, dvec3, dvec3, dmat4, MarkingMode, Double, Double) Method |
Splits the job element along the plate defined by the two lines from p0 to p1 and p0 to p2.
Namespace: RAYLASE.Marker.JobElementAssembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntaxpublic override (BaseMarkableJobElement Split1, BaseMarkableJobElement Split2) SplitAtPlane(
Func<BaseMarkableJobElement> jobElementFactory,
dvec3 p0,
dvec3 p1,
dvec3 p2,
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 dvec3
- Point on the plane.
- p1 dvec3
- Point on the plane.
- p2 dvec3
- 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 on the positive side of the plane, defined by the cross product of p01 x p02.
See Also