addPointXYZ method
Add a new point to the end of the mutable point collection by specifying the points x,y,z coordinates.
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.
Return Value: the point index where the point was added. If an error occurred, then -1 is returned.
Implementation
int addPointXYZ({
required double x,
required double y,
required double z,
}) {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_MutablePointCollection_addPointXYZ(
_handle,
x,
y,
z,
errorHandler,
);
});
}