class Chem::Bond

Defined in:

chem/core/bond.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(first : Chem::Atom, second : Chem::Atom, kind : Kind = :single) #

[View source]
def self.new(first, second, order : Int32) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def [](index : Int32) : Atom #

[View source]
def dative?(*args, **options) #

[View source]
def dative?(*args, **options, &) #

[View source]
def distance : Float64 #

[View source]
def double?(*args, **options) #

[View source]
def double?(*args, **options, &) #

[View source]
def first : Atom #

[View source]
def includes?(atom : Atom) : Bool #

[View source]
def inspect(io : ::IO) : Nil #

[View source]
def kind : Kind #

[View source]
def kind=(kind : Kind) #

[View source]
def order : Int32 #

[View source]
def order=(order : Int32) #

[View source]
def other(atom : Atom) : Atom #

[View source]
def second : Atom #

[View source]
def single?(*args, **options) #

[View source]
def single?(*args, **options, &) #

[View source]
def squared_distance : Float64 #

[View source]
def to_char : Char #

[View source]
def triple?(*args, **options) #

[View source]
def triple?(*args, **options, &) #

[View source]
def zero?(*args, **options) #

[View source]
def zero?(*args, **options, &) #

[View source]