WordPress plugin intelligence profile

CFF Area and Perimeter Operations

Implements operations for calculating the figure areas and perimeters to use with the Calculated Fields Forms equations.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.2
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.4 · PHP 5.4
Directory statusactive
Last directory update14 Aug 20262mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records CFF Area and Perimeter Operations version 1.0.2 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

The plugin implements the “Area and Perimeter” operations module to be used from the equations of the “Calculated Fields Form” plugin. The “Calculated Fields Form” plugin is a form builder with a lot of potential, and its “Calculated” control is one of its great strengths. It allows you to enter mathematical formulas, determine the distance between addresses, plot graphs, process dates, manage files, and many other operations.

The “CFF Area and Perimeter Operations” plugin enhances, even more, the possibilities of the “Calculated Fields Form” plugin, including operations to calculate the area and perimeter of figures like squares, triangles, rhombus, circles, ellipse, and even more important, regular and irregular polygons. The Area and Perimeter operations included by the plugin are listed below:

NVERTICESAREA: Calculates the area of a 2D figure given its vertices. The vertices are pairs of x,y coordinates. The operation returns null if the parameters are invalid or insufficient.

5

NVERTICESPERIMETER: Calculates the perimeter of a 2D figure given its vertices. The vertices are pairs of x,y coordinates. The operation returns null if the parameters are invalid or insufficient.

46

NSIDESAREA: Calculates the area of a 2D figure given its sides. The sides are numbers only. The operation returns null if the parameters are invalid or insufficient, or it is not a polygon.

For irregular polygons the operations returns the maximum area.

91

NSIDESPERIMETER: Calculates the perimeter of a 2D figure given its sides. The sides are numbers only. The operation returns null if the parameters are invalid or insufficient, or it is not a polygon.

Ex: NSIDESPERIMETER(9,8,9,20) Result: 46

SQUAREAREA: Calculates the area of a square. Accepts the side of the square as a parameter. The operation returns null if the parameter is not a number.

Ex: SQUAREAREA(9) Result: 81

SQUAREPERIMETER: Calculates the perimeter of a square. Accepts the side of the square as a parameter. The operation returns null if the parameter is not a number.

Ex: SQUAREPERIMETER(9) Result: 36

TRIANGLEAREA: Calculates the area of the triangle given its base and height. The operation returns null if the parameters are not numbers.

Ex: TRIANGLEAREA(4,5) Result: 10

TRIANGLEPERIMETER: Calculates the perimeter of the triangle given two or three sides. If you pass only two sides as parameters, the plugin assumes it is a right triangle and calculates its hypotenuse. The operation returns null if the parameters are not numbers.

Ex: TRIANGLEAREA(3,4) Result: 12

Ex: TRIANGLEAREA(3,4,5) Result: 12

RHOMBUSAREA: Calculates the area of a rombo given its diagonals. The operation returns null if the parameters are not numbers.

Ex: RHOMBUSAREA(3,4) Result: 6

RHOMBUSPERIMETER: Calculates the perimeter of a rombo area given its side or diagonals. If you pass two parameters to the RHOMBUSPERIMETER operation, it assumes they are the rombo diagonals. The operation returns null if the parameters are not numbers.

Ex: RHOMBUSPERIMETER(6,8) Result: 20

Ex: RHOMBUSPERIMETER(5) Result: 20

ELLIPSEAREA: Calculates the area of an ellipse given two semi-axis. The operation returns null if the parameters are not numbers.

96

ELLIPSEPERIMETER: Calculates the perimeter of an ellipse given two semi-axis. The operation returns null if the parameters are not numbers.

02

CIRCLEAREA: Calculates the area of a circle given its radius. The operation returns null if the parameter is not a number.

27

CIRCLEPERIMETER: Calculates the perimeter of a circle given its radius. The operation returns null if the parameter is not a number.

85

Use

The “CFF Area and Perimeter Operations” plugin includes the new “Area and Perimeter” entry (see screenshots) in the operations list of the calculated fields (Insert a calculated field in the form and scroll down the operations list in your configuration). Once the “Area and Perimeter” option is selected, the plugin enables the operations set and documentation. By clicking on the operation buttons, they are added to the equation’s editor.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • music cff
  • 2d
  • area
  • figure
  • perimeter
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.4 · PHP 5.4
Update activity14 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.