inter.check: Verify if 2 line segments intersect

Description Usage Arguments Details Value Author(s)

View source: R/inter.check.R

Description

Verify if 2 line segments intersect

Usage

1
inter.check(a, b, m)

Arguments

a

ID of the matrix.

b

don't know yet.

m

Matrix with four columns where the first and last two entries of every row are the cartesian coordinates of a single fracture's endpoints.

Details

This function determines whether two fractures intersect, using the criteria of opposing orientations in the two-dimensional case. Since it is specifically desinged to work with the rest of the functions in the model, it takes as parameter the tags of the fractures which correspond to the row they occupy in the endpoints matrix, as well as the matrix itself. It doesn't consider cases of colinearity, since given the measures defined the probability of this eventuality is zero.

Value

the results.

Author(s)

Daniella Ayala (daniellaayala@ciencias.unam.mx) and Francisco Mendoza-Torres (mentofran@gmail.com)


mathphysmx/percolation documentation built on Aug. 14, 2019, 2:03 a.m.