import { GeometryType, Geometry, Point, Curve } from "./internal"; /** * A Curve that connects two or more points in space. */ export declare class LineString extends Curve { /** * List of points */ private _points; constructor(); constructor(lineString: LineString); constructor(points: Array); constructor(hasZ: boolean, hasM: boolean); constructor(type: GeometryType, hasZ: boolean, hasM: boolean); /** * Get the points * @return points */ get points(): Array; /** * Set the points * @param points points */ set points(points: Array); /** * Add a point * @param point point */ addPoint(point: Point): void; /** * Add points * @param points points */ addPoints(points: Array): void; /** * Get the number of points * @return number of points */ numPoints(): number; /** * Returns the Nth point * @param n nth point to return * @return point */ getPoint(n: number): Point; /** * {@inheritDoc} */ startPoint(): Point; /** * {@inheritDoc} */ endPoint(): Point; /** * {@inheritDoc} */ isSimple(): boolean; /** * {@inheritDoc} */ copy(): Geometry; /** * {@inheritDoc} */ isEmpty(): boolean; /** * {@inheritDoc} */ equals(obj: Geometry): boolean; }