Click or drag to resize

JobElementHolder Methods

The JobElementHolder type exposes the following members.

Methods
 NameDescription
Public methodCalculateResultingModelMatrix Calculates the resulting model matrix; all the holder's parents, grandparents etc. are taken into account in case the holder is in a group or matrix/polar copy element.
Public methodCenterToOrigin Moves the job element so that its centroid is at the origin.
Public methodCopyConfigurationFrom Copies the configuration and condition from the source holder.
Public methodFlip Flip the job element against given flags for axes.
Public methodGetBoundingBox Returns the bounding box of the contained job element.
Public methodHasPoint Tests whether a point is inside (inclusively) the job element. This applies only if the job element is on a single plane.
Public methodMoveTo Moves the job element so that its centroid is at the given position.
Public methodResolvePen Resolves the pen to inherit values from the upper layers up to the given root pen.
Public methodResolvePenSet Resolves the pen set to inherit values from the upper layers up to the given root pen set.
Public methodRotate(Double) Rotates the job element a given angle around the z-axis.
Public methodRotate(Double, dvec3) Rotates the job element a given angle with respect to a given vector passing through its centroid.
Public methodScale(Double) Scales the job element uniformly with respect to its centroid.
Public methodScale(dvec3) Scales the job element non-uniformly with respect to its centroid.
Public methodScalePrepend(Double) 
Public methodScalePrepend(dvec3) 
Public methodSetJobElement(BaseJobElement) Sets the job element for this holder. Default holders are created for the children.
Public methodSetJobElement(JobElementHolder) Sets the job element for this holder from another holder. The configurations of the children holders are copied.
Public methodSetTransformation 
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodTransferAndResetPensFromJobElement Transfers the pens from the job element to this holder. This is useful for example after import process, because the pens might be set to the job element instead to the holder. The pens in the job element are then reset to their default values.
Public methodTransform Multiplies the model matrix with a transformation matrix.
Public methodTranslate Translates the job element with a given vector.
Top
See Also