AreNodesConnected {AFM} | R Documentation |

## check if nodes represented by circles are connected. The function defines all the possible segments between the circles and check if at least one segment exists.

### Description

check if nodes represented by circles are connected. The function defines all the possible segments between the circles and check if at least one segment exists.

### Usage

```
AreNodesConnected(binaryAFMImage, center1, radius1, center2, radius2)
```

### Arguments

`binaryAFMImage` |
a binary |

`center1` |
the center of the circle with center$lon as the x coordinates and center$lat as the y coordinates |

`radius1` |
the radius of the circle |

`center2` |
the center of the circle with center$lon as the x coordinates and center$lat as the y coordinates |

`radius2` |
the radius of the circle |

### Value

TRUE if the nodes are connected

### Author(s)

M.Beauvais

[Package

*AFM*version 2.0 Index]