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.

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

Syntax

C#
public void Align(
	Plane alignTo,
	bool relocate
)
Visual Basic
Public Sub Align ( _
	alignTo As Plane, _
	relocate As Boolean _
)
Visual C++
public:
void Align(
	Plane alignTo, 
	bool relocate
)

Parameters

alignTo
Type: CADability..::..Plane
relocate
Type: System..::..Boolean
relocate this plane

See Also