Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / PointMate Class / CalculateSnapTransformation Method / CalculateSnapTransformation(LineMate,Mate,Double,Double,Double) Method
LineMate to snap to.
additional Targetmate to take the local x Position from.

In This Topic
    CalculateSnapTransformation(LineMate,Mate,Double,Double,Double) Method
    In This Topic
    calculate a transformation matrix, that can be used to transform the associated placement into snap position that means, that the position and/or orientation of the associated placement will change, so that this mate fits to the target mate.
    Syntax

    Parameters

    pTargetMate
    LineMate to snap to.
    additionalTargetMate
    additional Targetmate to take the local x Position from.
    dXOffset
    dYOffset
    dZOffset
    Exceptions
    ExceptionDescription
    Thrown when param is null value. Check exception message for more info.
    Thrown when operation failed. Check exception message for more info.
    See Also