# addPoint

Add a new point to the end of the part by specifying the points x,y coordinates. A new line segment is added to connect the new point to the previous. The points in the part are the start and end points of segments. A new line segment is added to connect the new point to the previous point. If this is the first point in an empty segment, a single closed segment is added using the same start and end point. Adding a second point updates this line segment to gain a distinct end point. Adding subsequent points adds new line segments.

#### Since

200.1.0

#### Parameters

__x__

The x-coordinate of the new point.

__y__

The y-coordinate of the new point.

Add a new point to the end of the part by specifying the points x,y,z coordinates. A new line segment is added to connect the new point to the previous. The points in the part are the start and end points of segments. A new line segment is added to connect the new point to the previous point. If this is the first point in an empty segment, a single closed segment is added using the same start and end point. Adding a second point updates this line segment to gain a distinct end point. Adding subsequent points adds new line segments.

#### Since

200.1.0

#### Parameters

__x__

The x-coordinate of the new point.

__y__

The y-coordinate of the new point.

__z__

The z-coordinate of the new point.

Add a new point to the end of the part. A new line segment is added to connect the new point to the previous. The points in the part are the start and end points of segments. A new line segment is added to connect the new point to the previous point. If this is the first point in an empty segment, a single closed segment is added using the same start and end point. Adding a second point updates this line segment to gain a distinct end point. Adding subsequent points adds new line segments.

#### Since

200.1.0

#### Parameters

__point__

The point to add

Inserts a point specified by its x,y coordinates into the part at the specified point index. Line segments are added to connect the point to adjacent segments. The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point inserts new line segments connecting the adjacent points.

#### Since

200.1.0

#### Parameters

__point__Index

Zero-based index of the point.

__x__

The x-coordinate of the new point.

__y__

The y-coordinate of the new point.

#### Throws

if pointIndex is out of range.

Inserts a point specified by its x,y,z coordinate into the part at the specified point index. Line segments are added to connect the point to adjacent segments. The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point inserts new line segments connecting the adjacent points.

#### Since

200.1.0

#### Parameters

__point__Index

Zero-based index of the point.

__x__

The x-coordinate of the new point.

__y__

The y-coordinate of the new point.

__z__

The z-coordinate of the new point.

#### Throws

if pointIndex is out of range.

Inserts a point into the part at the specified point index. Line segments are added to connect the point to adjacent segments. The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point inserts new line segments connecting the adjacent points.

#### Since

200.1.0

#### Parameters

__point__Index

Zero-based index of the point.

__point__

The point to insert.

#### Throws

if pointIndex is out of range.