Learn R Programming

PlaneGeometry (version 1.6.0)

Plane Geometry

Description

An extensive set of plane geometry routines. Provides R6 classes representing triangles, circles, circular arcs, ellipses, elliptical arcs, lines, hyperbolae, and their plot methods. Also provides R6 classes representing transformations: rotations, reflections, homotheties, scalings, general affine transformations, inversions, Möbius transformations.

Copy Link

Version

Install

install.packages('PlaneGeometry')

Monthly Downloads

130

Version

1.6.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stc3<a9>phane Laurent

Last Published

August 9th, 2023

Functions in PlaneGeometry (1.6.0)

EllipseEquationFromFivePoints

Ellipse equation from five points
Affine

R6 class representing an affine map.
EllipseFromCenterAndMatrix

Ellipse from center and matrix
AffineMappingThreePoints

Affine transformation mapping three given points to three given points
CircleOA

Circle given by its center and a point
AffineMappingEllipse2Ellipse

Affine transformation mapping a given ellipse to a given ellipse
Arc

R6 class representing a circular arc
Ellipse

R6 class representing an ellipse
CircleAB

Circle given by a diameter
Circle

R6 class representing a circle
EllipseFromEquation

Ellipse from its implicit equation
EllipticalArc

R6 class representing an elliptical arc
Homothety

R6 class representing a homothety
GaussianEllipse

Gaussian ellipse
EllipseFromFociAndOnePoint

Ellipse from foci and one point
HyperbolaFromEquation

Hyperbola object from the hyperbola equation.
Hyperbola

R6 class representing a hyperbola
EllipseFromThreeBoundaryPoints

Smallest ellipse that passes through three boundary points
EllipseFromFivePoints

Ellipse from five points
Inversion

R6 class representing an inversion
Projection

R6 class representing a projection
LineFromEquation

Line from general equation
LineFromInterceptAndSlope

Line from intercept and slope
LownerJohnEllipse

Löwner-John ellipse (ellipse hull)
MobiusMappingCircle

Möbius transformation mapping a given circle to a given circle
Mobius

R6 class representing a Möbius transformation.
MobiusMappingThreePoints

Möbius transformation mapping three given points to three given points
Line

R6 class representing a line
Reflection

R6 class representing a reflection
MobiusSwappingTwoPoints

Möbius transformation swapping two given points
crossRatio

Cross ratio
SteinerChain

Steiner chain
Translation

R6 class representing a translation
TriangleThreeLines

Triangle defined by three lines
Triangle

R6 class representing a triangle
Rotation

R6 class representing a rotation
Scaling

R6 class representing a (non-uniform) scaling
ScalingXY

R6 class representing an axis-scaling
Shear

R6 class representing a shear transformation
draw

Draw a geometric object
inversionKeepingCircle

Inversion keeping a circle unchanged
inversionFixingThreeCircles

Inversion fixing three circles
intersectionCircleLine

Intersection of a circle and a line
intersectionLineLine

Intersection of two lines
inversionFixingTwoCircles

Inversion fixing two circles
inversionSwappingTwoCircles

Inversion swapping two circles
intersectionEllipseLine

Intersection of an ellipse and a line
inversionFromCircle

Inversion on a circle
unitCircle

Unit circle
soddyCircle

Inner Soddy circle
fitEllipse

Fit an ellipse
maxAreaInscribedCircle

Maximum area circle inscribed in a convex polygon
radicalCenter

Radical center
intersectionCircleCircle

Intersection of two circles
midCircles

Mid-circle(s)
maxAreaInscribedEllipse

Maximum area ellipse inscribed in a convex polygon