CADability dotNET
Aligns the

DirectionX and

DirectionY vectors of this plane
so that the projection of DirectionX of AlignTo and DircetionX of this plane are parallel.
If the two planes are parallel, the DirectionX and DirectionY of both planes will
also be parallel. The plane will not be changed. The

Location of this
plane will be changed to a point closest to the location of AlignTo, if relocate
is true, otherwise the location remains unchanged. If

flip is true
there is an additional check whether the angle between the two normal vectors is less than
90°. If not, the y-axis is reversed and the angle between the two normal vectors will be
less than 90°

**Namespace:** CADability

**Assembly:** CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

# Syntax

Visual Basic |
---|

Public Sub Align ( _
alignTo As Plane, _
relocate As Boolean, _
flip As Boolean _
) |

Visual C++ |
---|

public:
void Align(
Plane alignTo,
bool relocate,
bool flip
) |

# See Also