VCOM:VectorWorks:ISDK::InsertVertex
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks
Member of VCOM:VectorWorks:ISDK
Inserts a new vertex of type t into the specified polygon or polyline. The shape h will be transformed into a polyline if necessary. Existing vertices are numbered starting from 1; set beforeVertex to 1 to insert the new vertex before the first vertex, set it to CountVertices(cbp, h)+1 to insert the new point as the last vertex. If recalcBounds is false, the bounding box of the poly is not recalculated to reflect the changed coordinate values. This is useful when you are changing many points of a polygon (call ResetObject when you have finished).
virtual void InsertVertex(
MCObjectHandle h,
const WorldPt& p,
short beforeVertex,
VertexType t = vtCorner,
WorldCoord arcRadius = 0,
bool recalcBounds = true)
Parameters
MCObjectHandle h No information available. const WorldPt& p No information available. short beforeVertex No information available. VertexType t No information available. WorldCoord arcRadius No information available. bool recalcBounds No information available.
Version
Availability: from Vectorworks 2009