insertPointXYZ method
Inserts a point specified by its x,y,z coordinate into the mutable point collection at the specified point index.
The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection.
Parameters:
pointIndex
— 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.
Implementation
void insertPointXYZ({
required int pointIndex,
required double x,
required double y,
required double z,
}) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_MutablePointCollection_insertPointXYZ(
_handle,
pointIndex,
x,
y,
z,
errorHandler,
);
});
}