# `Networkex.PointPattern`
[🔗](https://github.com/CountlinkX-Solutions/networkex/blob/v0.3.0/lib/networkex/point_pattern.ex#L1)

Observations snapped to a network (`Networkex.Network.snap/2`), after spaghetti's
`PointPattern` after `snapobservations`.

  * `points` - the observations as given;
  * `snapped` - the nearest point of the network to each observation;
  * `arcs` - the arc (`{i, j}`) each observation is snapped to;
  * `dist_to_vertex` - `{to_i, to_j}`, distances from the snapped point to the arc's vertices;
  * `dist_snapped` - distances from each observation to its snapped point.

# `t`

```elixir
@type t() :: %Networkex.PointPattern{
  arcs: [{non_neg_integer(), non_neg_integer()}],
  dist_snapped: [float()],
  dist_to_vertex: [{float(), float()}],
  points: [{float(), float()}],
  snapped: [{float(), float()}]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
