measuringObjects: measuringObjects

measuringObjectsR Documentation

measuringObjects

Description

Functions to find the minimum and maximum x or co-ordinates of components, layers or sections.

Usage

xScaleComponent(input, cmin = NULL, cmax = NULL)

yScaleComponent(input, cmin = NULL, cmax = NULL)

xScaleLayer(input, cmin = NULL, cmax = NULL)

yScaleLayer(input, cmin = NULL, cmax = NULL)

xScaleSection(input, cmin = NULL, cmax = NULL)

yScaleSection(input, cmin = NULL, cmax = NULL)

Arguments

input

a component, layer or section depending on the function

cmin,

cmax numeric. The current minimum or maximum to compare against. If the co-ordinates in the input do not exceed cmin or cmax, cmin and cmax will be returned instead, unless they are NULL.

Value

a vector of length two with the minimum and maximum co-ordinates.

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.