Search if Ring is included in this or inverse

Namespace:  Hyleos.Chemistry
Assembly:  Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)

Syntax

C#
public bool Similar(
	Ring ring
)
Visual Basic (Declaration)
Public Function Similar ( _
	ring As Ring _
) As Boolean
Visual C++
public:
bool Similar(
	Ring^ ring
)

Parameters

ring
Type: Hyleos.Chemistry..::.Ring
Ring to compare

Return Value

True if similar, false otherwise

Remarks

The cutoff value for similarity is set to (ring size - 2) for ring greater than 6 and (ring size - 1) otherwise

See Also