Description Objects from the Class Slots Extends Methods See Also
Extend class "Figure"
. Representation of line segments
starting from the origin.
Objects can be created by calls of the form new("Segment", ...)
.
It is recommended to use the generator Segment
.
dimspace
:Object of class "numeric"
. Dimension
of the space where the segment lies.
coord
:Object of class "matrix"
. A 2x1 matrix
containing the Cartesian coordinates of the end point which does
not lie at the origin.
Class "Figure"
, directly.
signature(x = "Segment")
: compute the segment length.
signature(x = "Segment", f = "function")
:
covariogram
for a Segment object.
signature(x = "Segment", y = "missing")
:
plot a Segment object. Implemented only for planar segments.
The extra argument origin
(default:
null vector) may be used to plot the segment translated by
the vector origin
. If the extra argument add
(default: FALSE
) is TRUE
, the segment is added to
the current plot.signature(x = "Segment", y = "matrix")
:
Plot the strip defined as the Minkowski sum of x
and the
linear subspace spanned by the column vectors of y
. Only
implemented in 2D. In addition to the two arguments origin
and add
described above, the arguments density
,
angle
, col
, border
and lty
(see
polygon) can be
provided in order to customize the graphical representation of the strip.
signature(x = "Segment")
: print a segment
object.
Generator Segment
, Quadrat-class
, PointPattern-class
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.