/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; declare type float64 = number; import { Coordinate } from "../../spatial/geom/Coordinate"; import { ALong } from "../../system/runtime/ALong"; import { AttributeValue } from "./AttributeValue"; import { PointAttribute } from "./PointAttribute"; /** * Class CloudPoint defines a point in the point cloud. * * @version 1.0 November 2011 */ /** @internal */ export declare class CloudPoint { /** The name of this module */ private static readonly MODULE; /** The index */ private _index; /** The x position */ private _x; /** The y position */ private _y; /** The z position */ private _z; /** The ARGB color */ private _color; /** The intensity */ private _intensity; /** The weight */ private _weight; /** Has the point been selected? */ private _selected; /** The definitions of the extra attributes */ private _attributes; /** The values of the extra attributes */ private _values; /** * Create a new point. */ constructor(); /** * Create a new point. * @param index the index of the point. * @param x the x position. * @param y the y position. * @param z the z position. * @param color the ARGB color. * @param intensity the intensity. * @return the new point. */ static create(index: ALong, x: float64, y: float64, z: float64, color: int32, intensity: int32): CloudPoint; /** * Create a new point. * @param attributes the definitions of the attributes. * @return the new point. */ static createWithAttributes(attributes: Array): CloudPoint; /** * Clear the point. */ clear(): void; /** * Get the index. * @return the index. */ getIndex(): ALong; /** * Set the index. * @param index the index. */ setIndex(index: ALong): void; /** * Get the x position. * @return the x position. */ getX(): float64; /** * Set the x position. * @param x the new x position. */ setX(x: float64): void; /** * Get the y position. * @return the y position. */ getY(): float64; /** * Set the y position. * @param y the new y position. */ setY(y: float64): void; /** * Get the z position. * @return the z position. */ getZ(): float64; /** * Set the z position. * @param z the new z position. */ setZ(z: float64): void; /** * Get the ARGB color. * @return the color. */ getColor(): int32; /** * Set the color. * @param color the new color. */ setColor(color: int32): void; /** * Get the intensity. * @return the intensity. */ getIntensity(): int32; /** * Set the intensity. * @param intensity the new intensity. */ setIntensity(intensity: int32): void; /** * Get the weight. * @return the weight. */ getWeight(): int32; /** * Set the weight. * @param weight the weight. */ setWeight(weight: int32): void; /** * Has the point been selected? * @return true if selected. */ isSelected(): boolean; /** * Select the point. * @param selected true if the point has been selected. */ setSelected(selected: boolean): void; /** * Get the attribute definitions. * @return the attribute definitions. */ getAttributes(): Array; /** * Get an attribute definitions. * @param index the index of the attribute. * @return an attribute definitions. */ getAttribute(index: int32): PointAttribute; /** * Get the attribute values. * @return the attribute values. */ getAttributeValues(): Array; /** * Get an attribute value. * @param index the index of the value. * @return the value. */ getAttributeValue(index: int32): AttributeValue; /** * Get an attribute value. * @param attributeName the name of the attribute. * @return the value. */ getNamedAttributeValue(attributeName: string): AttributeValue; /** * Set the attributes. * @param attributes the definitions of the attributes. * @param values the values of the attributes. */ setAttributes(attributes: Array, values: Array): void; /** * Copy the values to another point. * @param other the other point. */ copyTo(other: CloudPoint): void; /** * Make a copy. * @return a copy. */ copy(): CloudPoint; /** * Get the distance to another point. * @param other the other point. * @return the distance. */ getDistance(other: CloudPoint): float64; /** * Get the square distance to another point. * @param other the other point. * @return the square distance. */ getSquareDistance(other: CloudPoint): float64; /** * Get a coordinate. * @return a coordinate. */ getCoordinate(): Coordinate; /** * Print the point. */ print(): void; } export {}; //# sourceMappingURL=CloudPoint.d.ts.map