addPointXYZ method
Adds a new point to the end of the last part of the multipart.
If there are no parts then an initial part is created and the point added to that. The point becomes the end point of a line segment in the part.
Parameters:
x
— The x-coordinate of the point to add.y
— The y-coordinate of the point to add.z
— The z-coordinate of the point to add.
Return Value: the point index of the new point in the last part
Implementation
int addPointXYZ({required double x, required double y, required double z}) {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_MultipartBuilder_addPointXYZ(
_handle, x, y, z, errorHandler);
});
}