Skip to content

Commit

Permalink
Merge pull request #212 from observerly/feature/vcurve/VCurve
Browse files Browse the repository at this point in the history
feat: Added type VCurve struct to vcurve IRIS module.
  • Loading branch information
michealroberts authored Dec 17, 2023
2 parents ec714ee + 06b79a6 commit 44a3bd6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/vcurve/vcurve.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package vcurve

// Point is a data point with x and y coordinates.
type Point struct {
x float64
y float64
}

// VCurve is a struct that holds the data points for the V-curve.
type VCurve struct {
Points []Point
}

0 comments on commit 44a3bd6

Please sign in to comment.