geomerative
Geomerative is a library for Processing, that consists of a series of classes enabling extended 2D geometry operations. It also enables the user to hold in objects information about 2D geometry elements, like shapes, polygons and meshes.

The goal of the library is to facilitate the creation and use of 2D generative geometry: accessing by code the points of a polygon or the parameters of the commands of a shape.

Finally, this library also implements a TrueType font interpreter and importer. This is done in order to motivate the public to use typography as a seed for generative art.

The library is based on two other free software libraries: Some examples of use of this library can be found at: The link to the library zip is the following: Geomerative library (rev09)

THE LIBRARY IS IN ALPHA VERSION. THIS MEANS THAT THE API MIGHT SUFFER IMPORTANT MODIFICATIONS CAUSING FUTURE VERSIONS TO BE INCOMPATIBLE WITH THE OLDER ONES.

License (unless otherwise stated)

Copyright 2006 Ricard Marxer Pi��n

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should receive a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Please contact me at rmarxerp@yahoo.com for any related bugs or issues. I also appreciate the submission of any example code of uses of the methods in order to complete the reference.
RSVG

RSVG
draw ( )
toGroup ( )
toMesh ( )
toPolygon ( )
toShape ( )

RMatrix

RMatrix
apply ( )
rotate ( )
scale ( )
shear ( )
translate ( )

RSubshape

RSubshape
commands
fillColour
id
strokeColour
texture
addBezierTo ( )
addClose ( )
addLineTo ( )
addQuadTo ( )
centerIn ( )
countCommands ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getCurveLength ( )
getCurveLengths ( )
getCurvePoint ( )
getCurvePoints ( )
getCurveTangent ( )
getCurveTangents ( )
getPoints ( )
getType ( )
print ( )
toMesh ( )
toPolygon ( )
toShape ( )
transform ( )

RGroup

RGroup
elements
fillColour
id
strokeColour
texture
adaptTo ( )
addElement ( )
addGroup ( )
centerIn ( )
countElements ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getPoints ( )
getType ( )
removeElement ( )
setAdaptor ( )
setAdaptorLengthOffset ( )
setAdaptorScale ( )
toMesh ( )
toMeshGroup ( )
toPolygon ( )
toPolygonGroup ( )
toShape ( )
toShapeGroup ( )
transform ( )

RFont

RFont
align
size
draw ( )
setAlign ( )
setSize ( )
toGroup ( )
toPolygon ( )
toShape ( )

RShape

RShape
fillColour
id
strokeColour
subshapes
texture
addBezierTo ( )
addClose ( )
addLineTo ( )
addMoveTo ( )
addQuadTo ( )
addSubshape ( )
centerIn ( )
countSubshapes ( )
createCircle ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getPoints ( )
getType ( )
isIn ( )
print ( )
setSubshape ( )
toMesh ( )
toPolygon ( )
toShape ( )
transform ( )

RCommand

RCommand
controlPoints
endPoint
segmentAngleTol
segmentType
startPoint
countControlPoints ( )
draw ( )
getBounds ( )
getCommandType ( )
getCurvePoint ( )
getCurvePoints ( )
getCurveTangent ( )
getCurveTangents ( )
getPoints ( )
setSegmentAngle ( )
setSegmentGraphic ( )
setSegmentLength ( )
setSegmentOffset ( )
setSegmentStep ( )
setSegmentator ( )
transform ( )

RStrip

RStrip
vertices
addVertex ( )
countVertices ( )
draw ( )
getBounds ( )
getPoints ( )
transform ( )

RPolygon

RPolygon
contours
defaultDetail
fillColour
id
strokeColour
texture
addContour ( )
addPoint ( )
centerIn ( )
close ( )
countContours ( )
createCircle ( )
createRectangle ( )
createRing ( )
createStar ( )
diff ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getPoints ( )
getType ( )
intersection ( )
isIn ( )
setCurrent ( )
toMesh ( )
toPolygon ( )
toShape ( )
transform ( )
union ( )
update ( )
xor ( )

RPoint

RPoint
x
y
add ( )
angle ( )
cross ( )
mult ( )
norm ( )
normalize ( )
print ( )
rotate ( )
scale ( )
sub ( )
transform ( )
translate ( )

RMesh

RMesh
fillColour
id
strips
strokeColour
texture
addPoint ( )
addStrip ( )
centerIn ( )
countStrips ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getPoints ( )
getType ( )
isIn ( )
toMesh ( )
toPolygon ( )
toShape ( )
transform ( )

RContour

RContour
fillColour
id
points
strokeColour
texture
addPoint ( )
centerIn ( )
countPoints ( )
draw ( )
getArea ( )
getBounds ( )
getCenter ( )
getCenteringTransf ( )
getCentroid ( )
getPoints ( )
getType ( )
isHole ( )
toMesh ( )
toPolygon ( )
toShape ( )
transform ( )