Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

PlaneGeometry (version 1.5.0)

Plane Geometry

Description

An extensive set of plane geometry routines. Provides R6 classes representing triangles, circles, circular arcs, ellipses, elliptical arcs and lines, 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

93

Version

1.5.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stc3<a9>phane Laurent

Last Published

June 17th, 2023

Functions in PlaneGeometry (1.5.0)

CircleAB

Circle given by a diameter
EllipseEquationFromFivePoints

Ellipse equation from five points
Ellipse

R6 class representing an ellipse
Arc

R6 class representing a circular arc
AffineMappingEllipse2Ellipse

Affine transformation mapping a given ellipse to a given ellipse
Circle

R6 class representing a circle
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
Affine

R6 class representing an affine map.
EllipseFromFociAndOnePoint

Ellipse from foci and one point
EllipseFromFivePoints

Ellipse from five points
EllipseFromThreeBoundaryPoints

Smallest ellipse that passes through three boundary points
Line

R6 class representing a line
Homothety

R6 class representing a homothety
EllipseFromEquation

Ellipse from its implicit equation
EllipticalArc

R6 class representing an elliptical arc
GaussianEllipse

Gaussian ellipse
Inversion

R6 class representing an inversion
LownerJohnEllipse

Löwner-John ellipse (ellipse hull)
MobiusMappingThreePoints

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

R6 class representing a projection
ScalingXY

R6 class representing an axis-scaling
MobiusSwappingTwoPoints

Möbius transformation swapping two given points
Mobius

R6 class representing a Möbius transformation.
Rotation

R6 class representing a rotation
MobiusMappingCircle

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

R6 class representing a (non-uniform) scaling
Shear

R6 class representing a shear transformation
Reflection

R6 class representing a reflection
SteinerChain

Steiner chain
fitEllipse

Fit an ellipse
draw

Draw a geometric object
TriangleThreeLines

Triangle defined by three lines
intersectionCircleCircle

Intersection of two circles
Triangle

R6 class representing a triangle
intersectionCircleLine

Intersection of a circle and a line
crossRatio

Cross ratio
Translation

R6 class representing a translation
intersectionEllipseLine

Intersection of an ellipse and a line
midCircles

Mid-circle(s)
inversionKeepingCircle

Inversion keeping a circle unchanged
inversionFixingTwoCircles

Inversion fixing two circles
radicalCenter

Radical center
inversionSwappingTwoCircles

Inversion swapping two circles
inversionFixingThreeCircles

Inversion fixing three circles
intersectionLineLine

Intersection of two lines
maxAreaInscribedCircle

Maximum area circle inscribed in a convex polygon
soddyCircle

Inner Soddy circle
unitCircle

Unit circle
inversionFromCircle

Inversion on a circle
maxAreaInscribedEllipse

Maximum area ellipse inscribed in a convex polygon