print.TriLines {pcds} | R Documentation |
Print a TriLines
object
Description
Prints the call
of the object
of class "TriLines"
and also the coefficients
of the line
(in the form: y = slope * x + intercept
),
and the vertices of the triangle
with respect to which the line is defined.
Usage
## S3 method for class 'TriLines'
print(x, ...)
Arguments
x |
A |
... |
Additional arguments for the S3 method |
Value
The call
of the object
of class "TriLines"
,
the coefficients
of the line
(in the form: y = slope * x + intercept
),
and the vertices of the triangle
with respect to which the line is defined.
See Also
summary.TriLines
,
print.summary.TriLines
,
and plot.TriLines
Examples
A<-c(0,0); B<-c(1,0); C<-c(1/2,sqrt(3)/2);
Te<-rbind(A,B,C)
xfence<-abs(A[1]-B[1])*.25
#how far to go at the lower and upper ends in the x-coordinate
x<-seq(min(A[1],B[1])-xfence,max(A[1],B[1])+xfence,l=3)
lnACM<-lineA2CMinTe(x)
lnACM
print(lnACM)
typeof(lnACM)
attributes(lnACM)
[Package pcds version 0.1.8 Index]