BaseMarkableJobElementSplitAtPlane(FuncBaseMarkableJobElement, dvec2, dvec2, dmat4, Double, Double, Boolean) 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,
double deltaPositiveSide = 0,
double deltaNegativeSide = 0,
bool convertFilling = true
)
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.
- 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,
BaseMarkableJobElementReturns two split job elements. The first one is on the left side of the line from p0 to p1.
See Also