VCSetCurrentEntityPoints


Version:

2.0.1

Description:

Operates identical to VCSetCurrentEntityPoint except allows a complete array to be passed instead of individual points.

Declaration:

 

C/C++

extern "C" void WINAPI VCSetCurrentEntityPoints(short* iError, Point2D* p2dArray, short iPointCount);

Delphi

procedure VCSetCurrentEntityPoints(var iError: Smallint; var p2dArray: Point2D; iPointCount: Smallint); stdcall;

ActiveX/COM

Sub SetCurrentEntityPoints(ByVal VCPoint2D_Array As Variant)

Parameters:

p2dArray - the array of Point2D for placement points
iPointCount
- the number of points contained in the array.

Notes:

By passing an array of points, an application can speed the generation of large continuous entities. For example, a COGO contour line which may require hundreds of points to define the contour. VCSetCurrentEntityPoint can be used to set individual points one at a time or VCSetCurrentEntityPoints can be used to pass the entire list of points directly into the routine. This will provide a significant performance increase for large continuous entities.

See Also:

VCSetCurrentEntityPoint, VCAddContinuousBezierEntity, VCAddContinuousLineEntity, VCGetCurrentEntityPoint