Package: affiner 0.1.0-21

affiner: A finer way to render 3D illustrated objects in 'grid' using affine transformations

Dilate, permute, project, reflect, rotate, shear, and translate 2D and 3D points. Supports parallel projections including oblique projections such as the cabinet projection as well as axonometric projections such as the isometric projection. Use 'grid's "affine transformation" feature to render illustrated flat surfaces.

Authors:Trevor L. Davis [aut, cre]

affiner_0.1.0-21.tar.gz
affiner_0.1.0-21.zip(r-4.5)affiner_0.1.0-21.zip(r-4.4)affiner_0.1.0-21.zip(r-4.3)
affiner_0.1.0-21.tgz(r-4.4-any)affiner_0.1.0-21.tgz(r-4.3-any)
affiner_0.1.0-21.tar.gz(r-4.5-noble)affiner_0.1.0-21.tar.gz(r-4.4-noble)
affiner_0.1.0-21.tgz(r-4.4-emscripten)affiner_0.1.0-21.tgz(r-4.3-emscripten)
affiner.pdf |affiner.html
affiner/json (API)
NEWS

# Install 'affiner' in R:
install.packages('affiner', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trevorld/affiner/issues

On CRAN:

80 exports 8 stars 1.16 score 1 dependencies 1 scripts

Last updated 2 months agofrom:9f87cfffc5. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winOKSep 03 2024
R-4.5-linuxOKSep 03 2024
R-4.4-winOKSep 03 2024
R-4.4-macOKSep 03 2024
R-4.3-winOKSep 03 2024
R-4.3-macOKSep 03 2024

Exports:affine_settingsaffineGrobaffiner_optionsangleangular_unitangular_unit<-arccosecantarccosinearccotangentarcsecantarcsinearctangentas_angleas_coord1das_coord2das_coord3das_line2das_plane3das_point1das_transform1das_transform2das_transform3dconvex_hull2dCoord1DCoord2DCoord3Dcosecantcosinecotangentcross_product3ddegreesdistance1ddistance2ddistance3dgradiansgrid.affineis_angleis_congruentis_coord1dis_coord2dis_coord3dis_line2dis_plane3dis_point1dis_transform1dis_transform2dis_transform3dLine2Dnormal2dnormal3dpermute2dpermute3dpi_radiansPlane3DPoint1Dproject1dproject2dproject3dradiansreflect1dreflect2dreflect3drotate2drotate3drotate3d_to_AAscale1dscale2dscale3dsecantshear2dshear3dsinetangenttransform1dtransform2dtransform3dtranslate1dtranslate2dtranslate3dturns

Dependencies:R6

Geometry in affiner

Rendered fromgeometry.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2024-07-11
Started: 2024-07-11

Introduction to affiner

Rendered fromaffiner.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2024-07-11
Started: 2024-07-11

Readme and manuals

Help Manual

Help pageTopics
affiner: A finer way to render 3D illustrated objects in 'grid' using affine transformationsaffiner-package affiner
Compute Euclidean normabs.Coord1D abs.Coord2D abs.Coord3D
Compute 'grid' affine transformation feature viewports and transformation functionsaffine_settings
Affine transformation grobaffineGrob grid.affine
Get affiner optionsaffiner_options
Angle vectorsangle degrees gradians pi_radians radians turns
Implemented base methods for angle vectorsabs.angle angle-methods as.complex.angle as.double.angle format.angle print.angle
Get/set angular unit of angle vectorsangular_unit angular_unit<-
Cast to angle vectoras_angle as_angle.angle as_angle.character as_angle.complex as_angle.Coord2D as_angle.Coord3D as_angle.Line2D as_angle.numeric as_angle.Plane3D
Cast to coord1d objectas_coord1d as_coord1d.character as_coord1d.Coord1D as_coord1d.Coord2D as_coord1d.data.frame as_coord1d.list as_coord1d.matrix as_coord1d.numeric as_coord1d.Point1D
Cast to coord2d objectas_coord2d as_coord2d.angle as_coord2d.character as_coord2d.complex as_coord2d.Coord2D as_coord2d.Coord3D as_coord2d.data.frame as_coord2d.list as_coord2d.matrix as_coord2d.numeric
Cast to coord3d objectas_coord3d as_coord3d.angle as_coord3d.character as_coord3d.Coord2D as_coord3d.Coord3D as_coord3d.data.frame as_coord3d.list as_coord3d.matrix as_coord3d.numeric
Cast to Line2D objectas_line2d as_line2d.angle as_line2d.character as_line2d.Coord2D as_line2d.Line2D as_line2d.numeric as_line2d.Point1D
Cast to Plane3D objectas_plane3d as_plane3d.character as_plane3d.Coord3D as_plane3d.Line2D as_plane3d.numeric as_plane3d.Plane3D as_plane3d.Point1D
Cast to Point1D objectas_point1d as_point1d.character as_point1d.Coord1D as_point1d.numeric as_point1d.Point1D
Cast to 1D affine transformation matrixas_transform1d as_transform1d.default as_transform1d.transform1d
Cast to 2D affine transformation matrixas_transform2d as_transform2d.default as_transform2d.transform2d
Cast to 3D affine transformation matrixas_transform3d as_transform3d.default as_transform3d.transform3d
Compute axis-aligned rangesbounding_ranges range.Coord1D range.Coord2D range.Coord3D
Compute centroids of coordinatescentroid mean.Coord1D mean.Coord2D mean.Coord3D
Compute 2D convex hullsconvex_hull2d convex_hull2d.Coord2D
1D coordinate vector R6 ClassCoord1D
2D coordinate vector R6 ClassCoord2D
3D coordinate vector R6 ClassCoord3D
Compute 3D vector cross productcross_product3d
1D Euclidean distancesdistance1d
2D Euclidean distancesdistance2d
3D Euclidean distancesdistance3d
Plot coordinates, points, lines, and planesgraphics lines.Line2D lines.Point1D plot.Coord1D plot.Coord2D points.Coord1D points.Coord2D
Angle vector aware inverse trigonometric functionsarccosecant arccosine arccotangent arcsecant arcsine arctangent inverse-trigonometric-functions
Test whether an object is an angle vectoris_angle
Test whether two objects are congruentis_congruent is_congruent.angle is_congruent.numeric
Test whether an object has a Coord1D classis_coord1d
Test whether an object has a Coord2D classis_coord2d
Test whether an object has a Coord3D classis_coord3d
Test whether an object has a Line2D classis_line2d
Test whether an object has a Plane3D classis_plane3d
Test whether an object has a Point1D classis_point1d
Test if 1D affine transformation matrixis_transform1d
Test if 2D affine transformation matrixis_transform2d
Test if 3D affine transformation matrixis_transform3d
2D lines R6 ClassLine2D
2D normal vectorsnormal2d normal2d.Coord2D normal2d.Line2D
3D normal vectorsnormal3d normal3d.character normal3d.Coord3D normal3d.Plane3D
3D planes R6 ClassPlane3D
1D points R6 ClassPoint1D
Convert from 3D rotation matrix to axis-angle representation.rotate3d_to_AA
1D affine transformation matricesproject1d reflect1d scale1d transform1d translate1d
2D affine transformation matricespermute2d project2d reflect2d rotate2d scale2d shear2d transform2d translate2d
3D affine transformation matricespermute3d project3d reflect3d rotate3d scale3d shear3d transform3d translate3d
Angle vector aware trigonometric functionscosecant cosine cotangent secant sine tangent trigonometric-functions