Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcColinearPoints

pcColinearPoints(
l_pointList1
l_pointList2
l_pointList3
) 
=> t / nil

Description

Verifies whether the three coordinates specified are collinear lying on or passing through the same straight line and orthogonal parallel to the X or Y axis.

Arguments

l_pointList1

First list of coordinates, specified as a list of two floating point numbers in the following format:

'(x y)

l_pointList2

Second list of coordinates, specified as a list of two floating point numbers in the following format:

'(x y)

l_pointList3

Third list of coordinates, specified as a list of two floating point numbers in the following format:

'(x y)

Value Returned

t

The three specified coordinates are collinear and orthogonal.

nil

The three specified coordinates are not collinear and orthogonal.

Examples

pcColinearPoints( '( 1.0 2.0 ) '( 1.3 2.0 ) '( 3.0 2.0 ) )

Verifies whether the three coordinates listed are collinear and orthogonal.


Return to top
 ⠀
X