<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "hvf",
  "identifier" : "/documentation/hvf/ShapeWriter/denseDeltaOffset(axis:extremum:segment:point:coordinate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "hvf"
    ],
    "preciseIdentifier" : "s:3hvf11ShapeWriterPAAE16denseDeltaOffset4axis8extremum7segment5point10coordinateS2i_AA12AxisExtremumOSiAA12SegmentPointOAA0O10CoordinateOtF"
  },
  "title" : "denseDeltaOffset(axis:extremum:segment:point:coordinate:)"
}
-->

# denseDeltaOffset(axis:extremum:segment:point:coordinate:)

The offset of a coordinate in the denseDeltaMatrix
This function uses totalSegmentCount, which must be set correctly before calling

```
func denseDeltaOffset(axis: Int, extremum: AxisExtremum, segment: Int, point: SegmentPoint, coordinate: PointCoordinate) -> Int
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)