AlignEntities3Point Method (ISketchManager) Send Feedback
See Also 
FirstSourcePoint
First source point (see Remarks)
FirstDestinationPoint
First destination point (see Remarks)
SecondSourcePoint
Second source point (see Remarks)
SecondDestinationPoint
Second destination point (see Remarks)
ThirdSourcePoint
Third source point (see Remarks)
ThirdDestinationPoint
Third destination point (see Remarks)
EntitiesArray
Array of entities to align
Aligns the specified entities using three pairs of points.

Syntax

Visual Basic 
Sub AlignEntities3Point( _
   ByVal FirstSourcePoint As MathPoint, _
   ByVal FirstDestinationPoint As MathPoint, _
   ByVal SecondSourcePoint As MathPoint, _
   ByVal SecondDestinationPoint As MathPoint, _
   ByVal ThirdSourcePoint As MathPoint, _
   ByVal ThirdDestinationPoint As MathPoint, _
   ByVal EntitiesArray As System.Object _
) 
C# 
void AlignEntities3Point( 
   MathPoint FirstSourcePoint,
   MathPoint FirstDestinationPoint,
   MathPoint SecondSourcePoint,
   MathPoint SecondDestinationPoint,
   MathPoint ThirdSourcePoint,
   MathPoint ThirdDestinationPoint,
   System.object EntitiesArray
)
COM native C++ 
HRESULT AlignEntities3Point( 
   IMathPoint* FirstSourcePoint,
   IMathPoint* FirstDestinationPoint,
   IMathPoint* SecondSourcePoint,
   IMathPoint* SecondDestinationPoint,
   IMathPoint* ThirdSourcePoint,
   IMathPoint* ThirdDestinationPoint,
   VARIANT EntitiesArray
) 
C++ 
DSRESULT AlignEntities3Point( 
   dsMathPoint* FirstSourcePoint,
   dsMathPoint* FirstDestinationPoint,
   dsMathPoint* SecondSourcePoint,
   dsMathPoint* SecondDestinationPoint,
   dsMathPoint* ThirdSourcePoint,
   dsMathPoint* ThirdDestinationPoint,
   const dsObjectPtrArray& EntitiesArray
) 

Parameters

FirstSourcePoint
First source point (see Remarks)
FirstDestinationPoint
First destination point (see Remarks)
SecondSourcePoint
Second source point (see Remarks)
SecondDestinationPoint
Second destination point (see Remarks)
ThirdSourcePoint
Third source point (see Remarks)
ThirdDestinationPoint
Third destination point (see Remarks)
EntitiesArray
Array of entities to align

Remarks

Specifying three pairs of points:

  • moves FirstSourcePoint to FirstDestinationPoint
  • rotates FirstSourcePoint and SecondSourcePoint and aligns them with FirstDestinationPoint and SecondDestinationPoint
  • aligns FirstSourcePoint and ThirdSourcePoint to SecondDestinationPoint and ThirdDestinationPoint
 

See Also

Availability

DraftSight V1R4.0