Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add string to points
Browse files Browse the repository at this point in the history
jairad26 committed Dec 12, 2024
1 parent f6025b3 commit ca394bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sdk/assemblyscript/src/assembly/neo4j.ts
Original file line number Diff line number Diff line change
@@ -189,6 +189,10 @@ export class Point2D {

@alias("SpatialRefId")
SpatialRefId!: u32;

String(): string {
return `Point{SpatialRefId=${this.SpatialRefId}, X=${this.X}, Y=${this.Y}}`;
}
}


@@ -209,4 +213,8 @@ export class Point3D {

@alias("SpatialRefId")
SpatialRefId!: u32;

String(): string {
return `Point{SpatialRefId=${this.SpatialRefId}, X=${this.X}, Y=${this.Y}, Z=${this.Z}}`;
}
}

0 comments on commit ca394bf

Please sign in to comment.