Learn R Programming

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

PlaneGeometry (version 1.5.1)

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

81

Version

1.5.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stc3<a9>phane Laurent

Last Published

June 24th, 2023

Functions in PlaneGeometry (1.5.1)

AffineMappingThreePoints

Affine transformation mapping three given points to three given points
Affine

R6 class representing an affine map.
CircleOA

Circle given by its center and a point
Circle

R6 class representing a circle
AffineMappingEllipse2Ellipse

Affine transformation mapping a given ellipse to a given ellipse
CircleAB

Circle given by a diameter
Ellipse

R6 class representing an ellipse
EllipseFromCenterAndMatrix

Ellipse from center and matrix
EllipseEquationFromFivePoints

Ellipse equation from five points
Arc

R6 class representing a circular arc
GaussianEllipse

Gaussian ellipse
EllipticalArc

R6 class representing an elliptical arc
EllipseFromFivePoints

Ellipse from five points
EllipseFromEquation

Ellipse from its implicit equation
LownerJohnEllipse

Löwner-John ellipse (ellipse hull)
Line

R6 class representing a line
EllipseFromFociAndOnePoint

Ellipse from foci and one point
EllipseFromThreeBoundaryPoints

Smallest ellipse that passes through three boundary points
Inversion

R6 class representing an inversion
Homothety

R6 class representing a homothety
Shear

R6 class representing a shear transformation
ScalingXY

R6 class representing an axis-scaling
MobiusSwappingTwoPoints

Möbius transformation swapping two given points
MobiusMappingThreePoints

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

R6 class representing a projection
Mobius

R6 class representing a Möbius transformation.
MobiusMappingCircle

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

R6 class representing a reflection
Scaling

R6 class representing a (non-uniform) scaling
Rotation

R6 class representing a rotation
crossRatio

Cross ratio
TriangleThreeLines

Triangle defined by three lines
intersectionCircleLine

Intersection of a circle and a line
intersectionCircleCircle

Intersection of two circles
draw

Draw a geometric object
intersectionEllipseLine

Intersection of an ellipse and a line
Translation

R6 class representing a translation
SteinerChain

Steiner chain
Triangle

R6 class representing a triangle
fitEllipse

Fit an ellipse
inversionFixingTwoCircles

Inversion fixing two circles
inversionKeepingCircle

Inversion keeping a circle unchanged
intersectionLineLine

Intersection of two lines
midCircles

Mid-circle(s)
maxAreaInscribedCircle

Maximum area circle inscribed in a convex polygon
radicalCenter

Radical center
inversionFromCircle

Inversion on a circle
maxAreaInscribedEllipse

Maximum area ellipse inscribed in a convex polygon
inversionSwappingTwoCircles

Inversion swapping two circles
inversionFixingThreeCircles

Inversion fixing three circles
unitCircle

Unit circle
soddyCircle

Inner Soddy circle