Click or drag to resize

BaseMarkableJobElementSplitAtPlane(FuncBaseMarkableJobElement, dvec3, dvec3, dvec3, dmat4, Double, Double, Boolean) Method

Splits the job element along the plate defined by the two lines from p0 to p1 and p0 to p2.

Namespace: RAYLASE.Marker.JobElement
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public (BaseMarkableJobElement Split1, BaseMarkableJobElement Split2) SplitAtPlane(
	Func<BaseMarkableJobElement> jobElementFactory,
	dvec3 p0,
	dvec3 p1,
	dvec3 p2,
	dmat4 transformation,
	double deltaPositiveSide = 0,
	double deltaNegativeSide = 0,
	bool convertFilling = true
)

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.
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.
convertFilling  Boolean  (Optional)
Converts filling profiles to vectors before splitting.

Return Value

ValueTupleBaseMarkableJobElement, BaseMarkableJobElement
Returns 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