CoordinateXYZ Class

A Coordinate is a Point3d with supporting methods from the GeometryQuery abstraction.

Extends

Methods

Name Description
clone(): CoordinateXYZ Return a clone.  
cloneTransformed(transform: Transform): CoordinateXYZ Return a transformed clone.  
dispatchToGeometryHandler(handler: GeometryHandler): any Second step of double dispatch: call handler.handleCoordinateXYZ(this)  
extendRange(rangeToExtend: Range3d, transform?: Transform): void Extend rangeToExtend to include this point (optionally transformed).  
isAlmostEqual(other: GeometryQuery): boolean Test for exact structure and nearly identical geometry.  
isSameGeometryClass(other: GeometryQuery): boolean Test if (other instanceof Coordinate).  
range(): Range3d Return the range of the point.  
tryTransformInPlace(transform: Transform): boolean Apply transform to the Coordinate's point.  
create(point: Point3d): CoordinateXYZ Static Create a new CoordinateXYZ containing a CLONE of point.  
createXYZ(x: number = 0, y: number = 0, z: number = 0): CoordinateXYZ Static Create a new CoordinateXYZ.  

Inherited methods

Name Inherited from Description
tryTranslateInPlace(dx: number, dy: number = 0.0, dz: number = 0.0): boolean Inherited GeometryQuery Try to move the geometry by dx,dy,dz.
areAlmostEqual(a: GeometryQuery, b: GeometryQuery): boolean Static Inherited GeometryQuery Apply instance method isAlmostEqual if both are defined.
computeScaledTolerance(geom: GeometryQuery | GeometryQuery[], options?: ScaledToleranceOptions): number Static Inherited GeometryQuery Compute a distance tolerance appropriate for comparing the coordinates of geom.
scaleToleranceForGeometry(geom: GeometryQuery | GeometryQuery[], distanceTolerance: number, options?: ScaledToleranceOptions): number Static Inherited GeometryQuery Scale the given distance tolerance as appropriate for comparing the coordinates of geom.

Properties

Name Type Description
geometryCategory Readonly "point" String name for interface properties.  
point Accessor ReadOnly Point3d Return a (REFERENCE TO) the coordinate data.  

Inherited properties

Name Type Inherited from Description
children Accessor Inherited ReadOnly GeometryQuery[] | undefined GeometryQuery Return GeometryQuery children for recursive queries.
* leaf classes do not need to implement.

Defined in

Last Updated: 24 September, 2026