HE_Mesh
5.0.0
|
Public Member Functions | |
WB_GeometryFactory2D () | |
void | setCurrentCS (final WB_CoordinateSystem3D CS) |
WB_CoordinateSystem3D | getCurrentCS () |
void | resetCurrentCS () |
WB_Transform | toWorld () |
WB_Coord | origin2D () |
WB_Coord | X2D () |
WB_Coord | Y2D () |
WB_Coord | minX2D () |
WB_Coord | minY2D () |
WB_CoordinateSystem3D | WORLD () |
WB_CoordinateSystem3D | createCSFromOX2D (final WB_Coord origin, final WB_Coord X) |
WB_CoordinateSystem3D | createCSFromOX2D (final WB_Coord origin, final WB_Coord X, final WB_CoordinateSystem3D parent) |
WB_CoordinateSystem3D | createCSFromOXY2D (final WB_Coord origin, final WB_Coord X, final WB_Coord Y) |
WB_CoordinateSystem3D | createCSFromOXY2D (final WB_Coord origin, final WB_Coord X, final WB_Coord Y, final WB_CoordinateSystem3D parent) |
WB_CoordinateSystem3D | createTransformedCS (final WB_CoordinateSystem3D CS, final WB_Transform T, final WB_CoordinateSystem3D parent) |
WB_CoordinateSystem3D | createTransformedCS (final WB_CoordinateSystem3D CS, final WB_Transform T) |
WB_Point | createPoint2D () |
WB_Point | createPoint2D (final WB_Coord p) |
WB_Point | createPoint2D (final double x, final double y) |
WB_Point | createPoint2D (final Coordinate coord) |
WB_Point | createInterpolatedPoint2D (final WB_Coord p, final WB_Coord q, final double f) |
WB_Point | createPointFromPolar (final double r, final double phi) |
WB_Point | createPointFromBipolar (final double a, final double sigma, final double tau) |
WB_Point | createPointFromParabolic (final double sigma, final double tau) |
WB_Point | createPointFromHyperbolic (final double u, final double v) |
WB_Point | createPointFromElliptic (final double a, final double sigma, final double tau) |
WB_Point | createIncenter2D (final WB_Triangle tri) |
WB_Point | createClosestPointOnLine2D (final WB_Coord p, final WB_Line L) |
List< WB_Point > | createClosestPoint (final WB_Line L1, final WB_Line L2) |
List< WB_Point > | createIntersectionPoints2D (final WB_Circle C0, final WB_Circle C1) |
List< WB_Point > | createIntersectionPoints2D (final WB_Line L, final WB_Circle C) |
WB_Point | createIntersectionPoint2D (final WB_Line L1, final WB_Line L2) |
WB_Point | createMirrorPoint2D (final WB_Coord p, final double x0, final double y0, final double x1, final double y1) |
WB_Point | createMirrorPoint2D (final WB_Coord p, final WB_Line L) |
WB_Point | createPointFromBarycentricCoordinates2D (final double u, final double v, final double w, final WB_Triangle tri) |
WB_Point | createInversionPoint2D (final WB_Coord p, final WB_Circle inversionCircle) |
WB_Point | createCentroid2D (final WB_Triangle tri) |
WB_Point | createCentroid2D (final WB_Coord...points) |
WB_Point | createCircumcenter2D (final WB_Triangle tri) |
WB_Point | createOrthocenter2D (final WB_Triangle tri) |
WB_Point | createPointFromTrilinearCoordinates2D (final double u, final double v, final double w, final WB_Triangle tri) |
WB_Point | createMidpoint2D (final WB_Coord p, final WB_Coord q) |
WB_Point | createMidpoint2D (final WB_Coord...p) |
WB_Vector | createVector2D () |
WB_Vector | createVectorFromTo2D (final WB_Coord p, final WB_Coord q) |
WB_Vector | createVector2D (final WB_Coord p) |
WB_Vector | createVector2D (final double _x, final double _y) |
WB_Vector | createNormalizedVector2D (final WB_Coord p) |
WB_Vector | createNormalizedVectorFromTo2D (final WB_Coord p, final WB_Coord q) |
WB_Vector | createNormalizedVector2D (final double _x, final double _y) |
WB_Vector | createNormalizedPerpendicularVector2D (final double _x, final double _y) |
WB_Vector | createNormalizedPerpendicularVector2D (final WB_Coord v) |
WB_Vector | createVectorFromPolar (final double r, final double phi) |
WB_Vector | createVectorFromBipolar (final double a, final double sigma, final double tau) |
WB_Vector | createVectorFromParabolic (final double sigma, final double tau) |
WB_Vector | createVectorFromHyperbolic (final double u, final double v) |
WB_Vector | createVectorFromElliptic (final double a, final double mu, final double nu) |
WB_Line | createLineThroughPoints2D (final WB_Coord p1, final WB_Coord p2) |
WB_Line | createLineThroughPoints2D (final double x1, final double y1, final double x2, final double y2) |
WB_Line | createLineWithDirection2D (final WB_Coord origin, final WB_Coord direction) |
WB_Line | createLineWithDirection2D (final double ox, final double oy, final double dx, final double dy) |
WB_Line | createParallelLineThroughPoint2D (final WB_Line L, final WB_Coord p) |
WB_Line | createPerpendicularLineThroughPoint2D (final WB_Line L, final WB_Coord p) |
List< WB_Line > | createParallelLines2D (final WB_Line L, final double d) |
WB_Line | createBisector2D (final WB_Coord p, final WB_Coord q) |
List< WB_Line > | createAngleBisector2D (final WB_Line L1, final WB_Line L2) |
WB_Line | createLineTangentToCircleInPoint (final WB_Circle C, final WB_Coord p) |
List< WB_Line > | createLinesTangentToCircleThroughPoint (final WB_Circle C, final WB_Coord p) |
List< WB_Line > | createLinesTangentTo2Circles (final WB_Circle C0, final WB_Circle C1) |
List< WB_Line > | createPerpendicularLinesTangentToCircle (final WB_Line L, final WB_Circle C) |
WB_Ray | createRayThroughPoints2D (final WB_Coord p1, final WB_Coord p2) |
WB_Ray | createRayThroughPoints2D (final double x1, final double y1, final double x2, final double y2) |
WB_Ray | createRayWithDirection2D (final WB_Coord origin, final WB_Coord direction) |
WB_Ray | createRayWithDirection2D (final double ox, final double oy, final double dx, final double dy) |
WB_Ray | createParallelRayThroughPoint2D (final WB_Line L, final WB_Coord p) |
WB_Segment | createSegment2D (final WB_Coord p1, final WB_Coord p2) |
WB_Segment | createSegmentWithLength2D (final WB_Coord origin, final WB_Coord direction, final double length) |
WB_Segment | createSegment2D (final double x1, final double y1, final double x2, final double y2) |
WB_Segment | createSegmentWithLength2D (final double ox, final double oy, final double dx, final double dy, final double length) |
WB_PolyLine | createPolyLine (final WB_Coord[] points) |
WB_PolyLine | createPolyLine (final Collection<?extends WB_Coord > points) |
WB_Ring | createRing (final WB_Coord[] points) |
WB_Ring | createRing (final List<?extends WB_Coord > points) |
WB_Polygon | createSimplePolygon (final WB_Coord...points) |
WB_Polygon | createSimplePolygon (final WB_Polygon poly) |
WB_Polygon | createSimplePolygon (final Collection<?extends WB_Coord > points) |
WB_Polygon | createSimplePolygon (final WB_Triangle triangle) |
WB_Polygon | createSimplePolygon (final WB_Quad quad) |
WB_Polygon | createSimplePolygon (final WB_Pentagon pentagon) |
WB_Polygon | createSimplePolygon (final WB_Hexagon hexagon) |
WB_Polygon | createSimplePolygon (final WB_Octagon octagon) |
WB_Polygon | createSimplePolygon (final List<?extends WB_Coord > tuples, final int[] indices) |
WB_Polygon | createPolygonWithHole (final WB_Coord[] points, final WB_Coord[] innerpoints) |
WB_Polygon | createPolygonWithHole (final Collection<?extends WB_Coord > points, final Collection<?extends WB_Coord > innerpoints) |
WB_Polygon | createPolygonWithHoles (final WB_Coord[] points, final WB_Coord[][] innerpoints) |
WB_Polygon | createPolygonWithHoles (final Collection<?extends WB_Coord > points, final List<?extends WB_Coord >[] innerpoints) |
WB_Polygon | createPolygonFromJTSPolygon2D (final Polygon JTSpoly) |
WB_Polygon | createPolygonConvexHull2D (final WB_Polygon poly) |
List< WB_Polygon > | createConvexPolygonDecomposition2D (final WB_Polygon poly) |
List< WB_Polygon > | createBufferedPolygons2D (final WB_Polygon poly, final double d) |
List< WB_Polygon > | createBufferedPolygons2D (final Collection<?extends WB_Polygon > poly, final double d) |
List< WB_Polygon > | createBufferedPolygons2D (final WB_Polygon poly, final double d, final int n) |
List< WB_Polygon > | createBufferedPolygons2D (final Collection<?extends WB_Polygon > poly, final double d, final int n) |
List< WB_Polygon > | createBoundaryPolygons2D (final WB_Polygon poly) |
List< WB_Polygon > | createBoundaryPolygons2D (final Collection<?extends WB_Polygon > poly) |
List< WB_Polygon > | createRibbonPolygons2D (final WB_Polygon poly, final double d) |
List< WB_Polygon > | createRibbonPolygons2D (final Collection<?extends WB_Polygon > poly, final double d) |
List< WB_Polygon > | createRibbonPolygons2D (final WB_Polygon poly, final double o, final double i) |
List< WB_Polygon > | createRibbonPolygons2D (final Collection<?extends WB_Polygon > poly, final double o, final double i) |
List< WB_Polygon > | createSimplifiedPolygon2D (final WB_Polygon poly, final double tol) |
List< WB_Polygon > | createDensifiedPolygon2D (final WB_Polygon poly, final double max) |
List< WB_Polygon > | unionPolygons2D (final WB_Polygon poly1, final WB_Polygon poly2) |
List< WB_Polygon > | unionPolygons2D (final WB_Polygon poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | unionPolygons2D (final Collection<?extends WB_Polygon > poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | subtractPolygons2D (final WB_Polygon poly1, final WB_Polygon poly2) |
List< WB_Polygon > | subtractPolygons2D (final WB_Polygon poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | subtractPolygons2D (final Collection<?extends WB_Polygon > poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | subtractPolygons2D (final Collection<?extends WB_Polygon > poly1, final WB_Polygon poly2) |
List< WB_Polygon > | intersectPolygons2D (final WB_Polygon poly1, final WB_Polygon poly2) |
List< WB_Polygon > | intersectPolygons2D (final WB_Polygon poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | intersectPolygons2D (final Collection<?extends WB_Polygon > poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | symDifferencePolygons2D (final WB_Polygon poly1, final WB_Polygon poly2) |
List< WB_Polygon > | symDifferencePolygons2D (final WB_Polygon poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | symDifferencePolygons2D (final Collection<?extends WB_Polygon > poly1, final Collection<?extends WB_Polygon > poly2) |
List< WB_Polygon > | constrainPolygons2D (final WB_Polygon poly, final WB_Polygon container) |
List< WB_Polygon > | constrainPolygons2D (final WB_Polygon[] polygons, final WB_Polygon container) |
List< WB_Polygon > | constrainPolygons2D (final List< WB_Polygon > polygons, final WB_Polygon container) |
List< WB_Polygon > | createTextWithTTFFont (final String text, final String fontName, final float pointSize) |
List< WB_Polygon > | createTextWithTTFFont (final String text, final String fontName, final float pointSize, final double flatness) |
List< WB_Polygon > | createTextWithTTFFont (final String text, final String fontName, final int style, final float pointSize, final double flatness) |
List< WB_Polygon > | createTextWithOpenTypeFont (final String text, final String fontName, final float pointSize) |
List< WB_Polygon > | createTextWithOpenTypeFont (final String text, final String fontName, final float pointSize, final double flatness) |
List< WB_Polygon > | createTextWithOpenTypeFont (final String text, final String fontName, final int style, final float pointSize, final double flatness) |
List< WB_Polygon > | createTextWithType1Font (final String text, final String fontName, final float pointSize) |
List< WB_Polygon > | createTextWithType1Font (final String text, final String fontName, final float pointSize, final double flatness) |
List< WB_Polygon > | createTextWithType1Font (final String text, final String fontName, final int style, final float pointSize, final double flatness) |
List< WB_Polygon > | createText (final String text, final String fontName, final float pointSize) |
List< WB_Polygon > | createText (final String text, final String fontName, final float pointSize, final double flatness) |
List< WB_Polygon > | createText (final String text, final String fontName, final int style, final float pointSize, final double flatness) |
List< WB_Polygon > | createText (final String text, final Font font, final int style, final float pointSize, final double flatness) |
List< WB_Polygon > | createText (final String text, final Font font, final double flatness) |
List< WB_Polygon > | createShape (final Shape shape, final double flatness) |
WB_Triangle | createTriangle2D (final double p1x, final double p1y, final double p2x, final double p2y, final double p3x, final double p3y) |
WB_Triangle | createTriangle2D (final WB_Coord p1, final WB_Coord p2, final WB_Coord p3) |
WB_Circle | createCircleWithDiameter (final WB_Coord center, final WB_Coord normal, final double diameter) |
WB_Circle | createCircleWithRadius (final WB_Coord center, final WB_Coord normal, final double radius) |
WB_Circle | createCircleWithRadius (final WB_Coord center, final double radius) |
WB_Circle | createCircleWithDiameter (final WB_Coord center, final double diameter) |
WB_Circle | createCircleWithRadius (final double x, final double y, final double radius) |
WB_Circle | createCircleWithDiameter (final double x, final double y, final double diameter) |
WB_Circle | createInversionCircle2D (final WB_Circle C, final WB_Circle inversionCircle) |
WB_Circle | createCircumcircle2D (final WB_Triangle tri) |
WB_Circle | createIncircle2D (final WB_Triangle tri) |
WB_Circle | createCirclePPP (final WB_Coord p0, final WB_Coord p1, final WB_Coord p2) |
List< WB_Circle > | createCirclePPL (final WB_Coord p, final WB_Coord q, final WB_Line L) |
List< WB_Circle > | createCirclePLL (final WB_Coord p, final WB_Line L1, final WB_Line L2) |
List< WB_Circle > | createCirclePPC (final WB_Coord p, final WB_Coord q, final WB_Circle C) |
List< WB_Circle > | createCirclePCC (final WB_Coord p, final WB_Circle C1, final WB_Circle C2) |
List< WB_Circle > | createCirclePLC (final WB_Coord p, final WB_Line L, final WB_Circle C) |
List< WB_Circle > | createCircleLLL (final WB_Line L1, final WB_Line L2, final WB_Line L3) |
List< WB_Circle > | createCircleLLC (final WB_Line L1, final WB_Line L2, final WB_Circle C) |
List< WB_Circle > | createCircleLCC (final WB_Line L, final WB_Circle C1, final WB_Circle C2) |
List< WB_Circle > | createCircleCCC (WB_Circle C1, WB_Circle C2, WB_Circle C3) |
List< WB_Circle > | createCircleThrough2Points (final WB_Coord p0, final WB_Coord p1, final double r) |
List< WB_Circle > | createCircleTangentToLineThroughPoint (final WB_Line L, final WB_Coord p, final double r) |
List< WB_Circle > | createCircleTangentTo2Lines (final WB_Line L0, final WB_Line L1, final double r) |
List< WB_Circle > | createCircleTangentToCircleThroughPoint (final WB_Circle C, final WB_Coord p, final double r) |
List< WB_Circle > | createCircleTangentToLineAndCircle (final WB_Line L, final WB_Circle C, final double r) |
List< WB_Circle > | createCircleTangentTo2CirclesNonCollinear (final WB_Circle C0, final WB_Circle C1, final double r) |
List< WB_Circle > | createCircleTangentTo2CirclesCollinear (final WB_Circle C0, final WB_Circle C1) |
List< WB_Circle > | createCircleTangentTo2Circles (final WB_Circle C0, final WB_Circle C1, final double r) |
WB_Point | createClosestPointOnTriangle2D (final WB_Coord p, final WB_Coord a, final WB_Coord b, final WB_Coord c) |
WB_Point | createClosestPointOnPolygon2D (final WB_Coord p, final WB_Polygon poly) |
void | apply (final WB_Transform T) |
List< WB_Coord > | createUniquePoints (final List< WB_Coord > points, final double threshold) |
Static Public Member Functions | |
static WB_GeometryFactory2D | instance () |
Private Member Functions | |
List< WB_Vector > | getDirections2D (final WB_Coord w, final double a) |
List< WB_Polygon > | createPolygonsFromJTSGeometry2D (final Geometry geometry) |
double[] | toDouble (final WB_Coord p) |
List< WB_Circle > | uniqueOnly (final List< WB_Circle > circles) |
Private Attributes | |
final GeometryFactory | JTSgf = new GeometryFactory() |
final WB_Point | origin2D |
final WB_Vector | X2D |
final WB_Vector | Y2D |
final WB_Vector | mX2D |
final WB_Vector | mY2D |
WB_CoordinateSystem3D | currentCS |
WB_Transform | toWorld |
WB_CoordinateSystem3D | world |
WB_ShapeReader | shapereader |
wblut.geom.WB_GeometryFactory2D.WB_GeometryFactory2D | ( | ) |
void wblut.geom.WB_GeometryFactory2D.apply | ( | final WB_Transform | T | ) |
T |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.constrainPolygons2D | ( | final WB_Polygon | poly, |
final WB_Polygon | container | ||
) |
poly | |
container |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.constrainPolygons2D | ( | final WB_Polygon[] | polygons, |
final WB_Polygon | container | ||
) |
polygons | |
container |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.constrainPolygons2D | ( | final List< WB_Polygon > | polygons, |
final WB_Polygon | container | ||
) |
polygons | |
container |
List<WB_Line> wblut.geom.WB_GeometryFactory2D.createAngleBisector2D | ( | final WB_Line | L1, |
final WB_Line | L2 | ||
) |
Get the 2D angle bisectors of two 2D lines.
L1 | 2D line |
L2 | 2D line |
Get the 2D bisector of two 2D points. The points should be distinct.
p | 2D point |
q | 2D point |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBoundaryPolygons2D | ( | final WB_Polygon | poly | ) |
poly |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBoundaryPolygons2D | ( | final Collection<?extends WB_Polygon > | poly | ) |
poly |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBufferedPolygons2D | ( | final WB_Polygon | poly, |
final double | d | ||
) |
poly | |
d |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBufferedPolygons2D | ( | final Collection<?extends WB_Polygon > | poly, |
final double | d | ||
) |
poly | |
d |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBufferedPolygons2D | ( | final WB_Polygon | poly, |
final double | d, | ||
final int | n | ||
) |
poly | |
d | |
n |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createBufferedPolygons2D | ( | final Collection<?extends WB_Polygon > | poly, |
final double | d, | ||
final int | n | ||
) |
poly | |
d | |
n |
WB_Point wblut.geom.WB_GeometryFactory2D.createCentroid2D | ( | final WB_Triangle | tri | ) |
Centroid of triangle.
tri | triangle |
WB_Point wblut.geom.WB_GeometryFactory2D.createCentroid2D | ( | final WB_Coord... | points | ) |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleCCC | ( | WB_Circle | C1, |
WB_Circle | C2, | ||
WB_Circle | C3 | ||
) |
C1 | |
C2 | |
C3 |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleLCC | ( | final WB_Line | L, |
final WB_Circle | C1, | ||
final WB_Circle | C2 | ||
) |
Gets circles tangent to 2D line and two circles.
L | line |
C1 | circle |
C2 | circle |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleLLC | ( | final WB_Line | L1, |
final WB_Line | L2, | ||
final WB_Circle | C | ||
) |
Gets circles tangent to 2 2D lines and a circle.
L1 | line |
L2 | line |
C | circle |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleLLL | ( | final WB_Line | L1, |
final WB_Line | L2, | ||
final WB_Line | L3 | ||
) |
Gets the circle tangent to 3 2D lines.
L1 | |
L2 | |
L3 |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCirclePCC | ( | final WB_Coord | p, |
final WB_Circle | C1, | ||
final WB_Circle | C2 | ||
) |
http://www.cut-the-knot.org/Curriculum/Geometry/GeoGebra/PCC.shtml# solution
p | |
C1 | |
C2 |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCirclePLC | ( | final WB_Coord | p, |
final WB_Line | L, | ||
final WB_Circle | C | ||
) |
Gets circles through a 2D point tangent to a circle and a 2D line. http://www.epab.bme.hu/geoc2/GC2_Lecture_notes_11_Spring.pdf
p | 2D point |
L | 2D line |
C | circle |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCirclePLL | ( | final WB_Coord | p, |
final WB_Line | L1, | ||
final WB_Line | L2 | ||
) |
Gets circles tangent to 2 2D lines through point. http://www.cut-the-knot.org/Curriculum/Geometry/GeoGebra/PLL.shtml
p | point |
L1 | line |
L2 | line |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCirclePPC | ( | final WB_Coord | p, |
final WB_Coord | q, | ||
final WB_Circle | C | ||
) |
Gets circles through two 2d points tangent to circle. http://mathafou.free.fr/pbg_en/sol136.html
p | 2D point |
q | 2D point |
C | circle |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCirclePPL | ( | final WB_Coord | p, |
final WB_Coord | q, | ||
final WB_Line | L | ||
) |
http://www.cut-the-knot.org/Curriculum/Geometry/GeoGebra/PPL.shtml
p | |
q | |
L |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCirclePPP | ( | final WB_Coord | p0, |
final WB_Coord | p1, | ||
final WB_Coord | p2 | ||
) |
Gets the circle through 3 2D points, z-ordinate is ignored.
p0 | |
p1 | |
p2 |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentTo2Circles | ( | final WB_Circle | C0, |
final WB_Circle | C1, | ||
final double | r | ||
) |
Return all circles tangential to two given circles. This function returns all circles with a collinear center regardless of radius and the circles with a non-collinear center with the given radius.
C0 | |
C1 | |
r |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentTo2CirclesCollinear | ( | final WB_Circle | C0, |
final WB_Circle | C1 | ||
) |
Gets circles tangent to two circles. This will return all tangent circles whose center are collinear with the the two centers.
C0 | |
C1 |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentTo2CirclesNonCollinear | ( | final WB_Circle | C0, |
final WB_Circle | C1, | ||
final double | r | ||
) |
Gets circles with given radius tangent to two circles. This will return all tangent circles with a certaun radius whose center are non-collinear with the the two centers.
C0 | |
C1 | |
r | radius |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentTo2Lines | ( | final WB_Line | L0, |
final WB_Line | L1, | ||
final double | r | ||
) |
Gets circles with given radius tangent to 2 2D lines.
L0 | line |
L1 | line |
r | radius |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentToCircleThroughPoint | ( | final WB_Circle | C, |
final WB_Coord | p, | ||
final double | r | ||
) |
Gets circles with given radius through 2D point and tangent to circle.
C | circle |
p | point |
r | radius |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentToLineAndCircle | ( | final WB_Line | L, |
final WB_Circle | C, | ||
final double | r | ||
) |
Gets the circle tangent to line and circle.
L | the l |
C | the c |
r | the r |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleTangentToLineThroughPoint | ( | final WB_Line | L, |
final WB_Coord | p, | ||
final double | r | ||
) |
Gets circles with given radius tangent to 2D line through 2D point.
L | line |
p | point |
r | radius |
List<WB_Circle> wblut.geom.WB_GeometryFactory2D.createCircleThrough2Points | ( | final WB_Coord | p0, |
final WB_Coord | p1, | ||
final double | r | ||
) |
Gets the circles with given radius through 2 points.
p0 | |
p1 | |
r | radius |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithDiameter | ( | final WB_Coord | center, |
final WB_Coord | normal, | ||
final double | diameter | ||
) |
Circle with center and radius.
center | |
normal | |
diameter |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithDiameter | ( | final WB_Coord | center, |
final double | diameter | ||
) |
Circle with center and diameter.
center | |
diameter |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithDiameter | ( | final double | x, |
final double | y, | ||
final double | diameter | ||
) |
Circle with diameter and radius.
x | |
y | |
diameter |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithRadius | ( | final WB_Coord | center, |
final WB_Coord | normal, | ||
final double | radius | ||
) |
Circle with center and diameter.
center | |
normal | |
radius |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithRadius | ( | final WB_Coord | center, |
final double | radius | ||
) |
center | |
radius |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircleWithRadius | ( | final double | x, |
final double | y, | ||
final double | radius | ||
) |
Circle with center and radius.
x | |
y | |
radius |
WB_Point wblut.geom.WB_GeometryFactory2D.createCircumcenter2D | ( | final WB_Triangle | tri | ) |
Circumcenter of triangle.
tri | triangle |
WB_Circle wblut.geom.WB_GeometryFactory2D.createCircumcircle2D | ( | final WB_Triangle | tri | ) |
Get circumcircle of 2D triangle, z-ordinate is ignored.
tri | triangle |
List<WB_Point> wblut.geom.WB_GeometryFactory2D.createClosestPoint | ( | final WB_Line | L1, |
final WB_Line | L2 | ||
) |
Closest points between two 2D lines, z-ordinate is ignored.
L1 | 2D line |
L2 | 2D line |
WB_Point wblut.geom.WB_GeometryFactory2D.createClosestPointOnLine2D | ( | final WB_Coord | p, |
final WB_Line | L | ||
) |
Closest point to 2D line, z-ordinate is ignored.
p | WB_Coordinate |
L | WB_Line |
WB_Point wblut.geom.WB_GeometryFactory2D.createClosestPointOnPolygon2D | ( | final WB_Coord | p, |
final WB_Polygon | poly | ||
) |
p | |
poly |
WB_Point wblut.geom.WB_GeometryFactory2D.createClosestPointOnTriangle2D | ( | final WB_Coord | p, |
final WB_Coord | a, | ||
final WB_Coord | b, | ||
final WB_Coord | c | ||
) |
p | |
a | |
b | |
c |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createConvexPolygonDecomposition2D | ( | final WB_Polygon | poly | ) |
poly |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createCSFromOX2D | ( | final WB_Coord | origin, |
final WB_Coord | X | ||
) |
Create a new right-handed coordinate system. The WORLD CS is the default parent; the z-coordinate of X is ignored and X is normalized, Z is (0,0,1) and Y is created from X and Z
origin | |
X |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createCSFromOX2D | ( | final WB_Coord | origin, |
final WB_Coord | X, | ||
final WB_CoordinateSystem3D | parent | ||
) |
Create a new right-handed coordinate ; the z-coordinate of X is ignored and X is normalized, Z is (0,0,1) and Y is created from X and Z.
origin | |
X | |
parent | parent coordinate system |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createCSFromOXY2D | ( | final WB_Coord | origin, |
final WB_Coord | X, | ||
final WB_Coord | Y | ||
) |
Create a new right-handed coordinate system. The WORLD CS is the default parent; X is normalized, Y is normalized and orthogonalized and Z is created from X and Y
origin | |
X | |
Y |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createCSFromOXY2D | ( | final WB_Coord | origin, |
final WB_Coord | X, | ||
final WB_Coord | Y, | ||
final WB_CoordinateSystem3D | parent | ||
) |
Create a new right-handed coordinate with a defined parent. X is normalized, Y is normalized and orthogonalized and Z is created from X and Y
origin | |
X | |
Y | |
parent | parent coordinate system |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createDensifiedPolygon2D | ( | final WB_Polygon | poly, |
final double | max | ||
) |
poly | |
max |
WB_Point wblut.geom.WB_GeometryFactory2D.createIncenter2D | ( | final WB_Triangle | tri | ) |
Incenter of triangle, z-ordinate is ignored.
tri | triangle |
WB_Circle wblut.geom.WB_GeometryFactory2D.createIncircle2D | ( | final WB_Triangle | tri | ) |
Get incircle of triangle, z-ordinate is ignored.
tri | triangle |
WB_Point wblut.geom.WB_GeometryFactory2D.createInterpolatedPoint2D | ( | final WB_Coord | p, |
final WB_Coord | q, | ||
final double | f | ||
) |
Interpolated point.
p | point |
q | point |
f | interpolation value, p=0,q=1 |
WB_Point wblut.geom.WB_GeometryFactory2D.createIntersectionPoint2D | ( | final WB_Line | L1, |
final WB_Line | L2 | ||
) |
Gets intersection points of two 2D lines, z-ordinate is ignored.
L1 | |
L2 |
List<WB_Point> wblut.geom.WB_GeometryFactory2D.createIntersectionPoints2D | ( | final WB_Circle | C0, |
final WB_Circle | C1 | ||
) |
Gets intersection points of two circles, z-ordinate is ignored.
C0 | |
C1 |
List<WB_Point> wblut.geom.WB_GeometryFactory2D.createIntersectionPoints2D | ( | final WB_Line | L, |
final WB_Circle | C | ||
) |
Gets intersection points of 2D line and circle, z-ordinate is ignored.
L | |
C |
WB_Circle wblut.geom.WB_GeometryFactory2D.createInversionCircle2D | ( | final WB_Circle | C, |
final WB_Circle | inversionCircle | ||
) |
Inversion of circle C over circle inversionCircle http://mathworld.wolfram.com/Inversion.html
C | circle |
inversionCircle | inversion circle |
WB_Point wblut.geom.WB_GeometryFactory2D.createInversionPoint2D | ( | final WB_Coord | p, |
final WB_Circle | inversionCircle | ||
) |
Inversion of 2D point p over circle C http://mathworld.wolfram.com/Inversion.html
p | 2D point |
inversionCircle | inversion circle |
List<WB_Line> wblut.geom.WB_GeometryFactory2D.createLinesTangentTo2Circles | ( | final WB_Circle | C0, |
final WB_Circle | C1 | ||
) |
Gets the 2D lines tangent to 2 circles.
C0 | circle |
C1 | circle |
List<WB_Line> wblut.geom.WB_GeometryFactory2D.createLinesTangentToCircleThroughPoint | ( | final WB_Circle | C, |
final WB_Coord | p | ||
) |
Gets the 2D lines tangent to a circle through 2D point.
C | circle |
p | point |
WB_Line wblut.geom.WB_GeometryFactory2D.createLineTangentToCircleInPoint | ( | final WB_Circle | C, |
final WB_Coord | p | ||
) |
Get the 2D line tangent to a circle at a 2D point.
C | circle |
p | point |
WB_Line wblut.geom.WB_GeometryFactory2D.createLineThroughPoints2D | ( | final WB_Coord | p1, |
final WB_Coord | p2 | ||
) |
Get line through two points. The first point will become the origin
p1 | point 1 |
p2 | point 2 |
WB_Line wblut.geom.WB_GeometryFactory2D.createLineThroughPoints2D | ( | final double | x1, |
final double | y1, | ||
final double | x2, | ||
final double | y2 | ||
) |
Get line through two points. The first point will become the origin
x1 | x-ordinate of point 1 |
y1 | y-ordinate of point 1 |
x2 | x-ordinate of point 2 |
y2 | y-ordinate of point 2 |
WB_Line wblut.geom.WB_GeometryFactory2D.createLineWithDirection2D | ( | final WB_Coord | origin, |
final WB_Coord | direction | ||
) |
Get line through point with given direction.
origin | point on line |
direction | direction |
WB_Line wblut.geom.WB_GeometryFactory2D.createLineWithDirection2D | ( | final double | ox, |
final double | oy, | ||
final double | dx, | ||
final double | dy | ||
) |
Get 2D line through point with given direction.
ox | x-ordinate of origin |
oy | y-ordinate of origin |
dx | x-ordinate of direction |
dy | y-ordinate of direction |
p | |
q |
WB_Point wblut.geom.WB_GeometryFactory2D.createMidpoint2D | ( | final WB_Coord... | p | ) |
p |
WB_Point wblut.geom.WB_GeometryFactory2D.createMirrorPoint2D | ( | final WB_Coord | p, |
final double | x0, | ||
final double | y0, | ||
final double | x1, | ||
final double | y1 | ||
) |
Mirror 2D point about 2D line.
p | |
x0 | |
y0 | |
x1 | |
y1 |
Mirror 2D point about 2D line.
p | WB_Coordinate |
L | WB_Linear |
WB_Vector wblut.geom.WB_GeometryFactory2D.createNormalizedPerpendicularVector2D | ( | final double | _x, |
final double | _y | ||
) |
Normalized vector from Cartesian coordinates http://en.wikipedia.org/wiki/Cartesian_coordinate_system
_x | x |
_y | y |
p |
WB_Vector wblut.geom.WB_GeometryFactory2D.createNormalizedVector2D | ( | final double | _x, |
final double | _y | ||
) |
Normalized vector from Cartesian coordinates http://en.wikipedia.org/wiki/Cartesian_coordinate_system
_x | x |
_y | y |
WB_Vector wblut.geom.WB_GeometryFactory2D.createNormalizedVectorFromTo2D | ( | final WB_Coord | p, |
final WB_Coord | q | ||
) |
p | |
q |
WB_Point wblut.geom.WB_GeometryFactory2D.createOrthocenter2D | ( | final WB_Triangle | tri | ) |
Orthocenter of triangle.
tri | triangle |
List<WB_Line> wblut.geom.WB_GeometryFactory2D.createParallelLines2D | ( | final WB_Line | L, |
final double | d | ||
) |
Get the two 2D lines parallel to a 2D line and separated by a distance d.
L | 2D line |
d | distance |
WB_Line wblut.geom.WB_GeometryFactory2D.createParallelLineThroughPoint2D | ( | final WB_Line | L, |
final WB_Coord | p | ||
) |
Get a line parallel to a line and through point.
L | line |
p | point |
WB_Ray wblut.geom.WB_GeometryFactory2D.createParallelRayThroughPoint2D | ( | final WB_Line | L, |
final WB_Coord | p | ||
) |
Get a ray parallel to a line and through point.
L | line |
p | point |
List<WB_Line> wblut.geom.WB_GeometryFactory2D.createPerpendicularLinesTangentToCircle | ( | final WB_Line | L, |
final WB_Circle | C | ||
) |
Gets the two 2D lines perpendicular to a 2D line and tangent to a circle.
L | 2D line |
C | circle |
WB_Line wblut.geom.WB_GeometryFactory2D.createPerpendicularLineThroughPoint2D | ( | final WB_Line | L, |
final WB_Coord | p | ||
) |
Get a 2D line perpendicular to 2D line and through 2D point.
L | 2D line |
p | 2D point |
WB_Point wblut.geom.WB_GeometryFactory2D.createPoint2D | ( | ) |
New point at origin.
Copy of coordinate as point, z-ordinate is ignored.
p | point |
WB_Point wblut.geom.WB_GeometryFactory2D.createPoint2D | ( | final double | x, |
final double | y | ||
) |
Point from Cartesian coordinates http://en.wikipedia.org/wiki/Cartesian_coordinate_system
x | x |
y | y |
WB_Point wblut.geom.WB_GeometryFactory2D.createPoint2D | ( | final Coordinate | coord | ) |
coord |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromBarycentricCoordinates2D | ( | final double | u, |
final double | v, | ||
final double | w, | ||
final WB_Triangle | tri | ||
) |
Get point with triangle barycentric coordinates.
u | |
v | |
w | |
tri | triangle |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromBipolar | ( | final double | a, |
final double | sigma, | ||
final double | tau | ||
) |
Point from bipolar coordinates http://en.wikipedia.org/wiki/Bipolar_coordinates
a | focus |
sigma | bipolar coordinate |
tau | bipolar coordinate |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromElliptic | ( | final double | a, |
final double | sigma, | ||
final double | tau | ||
) |
Point from elliptic coordinates http://en.wikipedia.org/wiki/Elliptic_coordinates
a | focus |
sigma | elliptic coordinate >=0 |
tau | elliptic coordinate between -1 and 1 |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromHyperbolic | ( | final double | u, |
final double | v | ||
) |
Point from hyperbolic coordinates http://en.wikipedia.org/wiki/Hyperbolic_coordinates
u | hyperbolic angle |
v | geometric mean >0 |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromParabolic | ( | final double | sigma, |
final double | tau | ||
) |
Point from parabolic coordinates http://en.wikipedia.org/wiki/Parabolic_coordinates
sigma | parabolic coordinate |
tau | parabolic coordinate |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromPolar | ( | final double | r, |
final double | phi | ||
) |
Point from polar coordinates http://en.wikipedia.org/wiki/Polar_coordinate_system
r | radius |
phi | angle |
WB_Point wblut.geom.WB_GeometryFactory2D.createPointFromTrilinearCoordinates2D | ( | final double | u, |
final double | v, | ||
final double | w, | ||
final WB_Triangle | tri | ||
) |
Get point with triangle trilinear coordinates.
u | |
v | |
w | |
tri | triangle |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonConvexHull2D | ( | final WB_Polygon | poly | ) |
poly |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonFromJTSPolygon2D | ( | final Polygon | JTSpoly | ) |
JTSpoly |
|
private |
geometry |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonWithHole | ( | final WB_Coord[] | points, |
final WB_Coord[] | innerpoints | ||
) |
points | |
innerpoints |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonWithHole | ( | final Collection<?extends WB_Coord > | points, |
final Collection<?extends WB_Coord > | innerpoints | ||
) |
points | |
innerpoints |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonWithHoles | ( | final WB_Coord[] | points, |
final WB_Coord | innerpoints[][] | ||
) |
points | |
innerpoints |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createPolygonWithHoles | ( | final Collection<?extends WB_Coord > | points, |
final List<?extends WB_Coord >[] | innerpoints | ||
) |
points | |
innerpoints |
WB_PolyLine wblut.geom.WB_GeometryFactory2D.createPolyLine | ( | final WB_Coord[] | points | ) |
points |
WB_PolyLine wblut.geom.WB_GeometryFactory2D.createPolyLine | ( | final Collection<?extends WB_Coord > | points | ) |
points |
WB_Ray wblut.geom.WB_GeometryFactory2D.createRayThroughPoints2D | ( | final WB_Coord | p1, |
final WB_Coord | p2 | ||
) |
Get ray through two points. The first point will become the origin
p1 | point 1 |
p2 | point 2 |
WB_Ray wblut.geom.WB_GeometryFactory2D.createRayThroughPoints2D | ( | final double | x1, |
final double | y1, | ||
final double | x2, | ||
final double | y2 | ||
) |
Get ray through two points. The first point will become the origin
x1 | x-ordinate of point 1 |
y1 | y-ordinate of point 1 |
x2 | x-ordinate of point 2 |
y2 | y-ordinate of point 2 |
WB_Ray wblut.geom.WB_GeometryFactory2D.createRayWithDirection2D | ( | final WB_Coord | origin, |
final WB_Coord | direction | ||
) |
Get ray through point with given direction.
origin | point on line |
direction | direction |
WB_Ray wblut.geom.WB_GeometryFactory2D.createRayWithDirection2D | ( | final double | ox, |
final double | oy, | ||
final double | dx, | ||
final double | dy | ||
) |
Get 2D ray through point with given direction.
ox | x-ordinate of origin |
oy | y-ordinate of origin |
dx | x-ordinate of direction |
dy | y-ordinate of direction |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createRibbonPolygons2D | ( | final WB_Polygon | poly, |
final double | d | ||
) |
poly | |
d |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createRibbonPolygons2D | ( | final Collection<?extends WB_Polygon > | poly, |
final double | d | ||
) |
poly | |
d |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createRibbonPolygons2D | ( | final WB_Polygon | poly, |
final double | o, | ||
final double | i | ||
) |
poly | |
o | |
i |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createRibbonPolygons2D | ( | final Collection<?extends WB_Polygon > | poly, |
final double | o, | ||
final double | i | ||
) |
poly | |
o | |
i |
points |
points |
WB_Segment wblut.geom.WB_GeometryFactory2D.createSegment2D | ( | final WB_Coord | p1, |
final WB_Coord | p2 | ||
) |
Get segment between two points. The first point will become the origin
p1 | point 1 |
p2 | point 2 |
WB_Segment wblut.geom.WB_GeometryFactory2D.createSegment2D | ( | final double | x1, |
final double | y1, | ||
final double | x2, | ||
final double | y2 | ||
) |
Get segment. The first point will become the origin
x1 | x-ordinate of point 1 |
y1 | y-ordinate of point 1 |
x2 | x-ordinate of point 2 |
y2 | y-ordinate of point 2 |
WB_Segment wblut.geom.WB_GeometryFactory2D.createSegmentWithLength2D | ( | final WB_Coord | origin, |
final WB_Coord | direction, | ||
final double | length | ||
) |
Get segment between two points. The first point will become the origin
origin | origin |
direction | direction |
length | length |
WB_Segment wblut.geom.WB_GeometryFactory2D.createSegmentWithLength2D | ( | final double | ox, |
final double | oy, | ||
final double | dx, | ||
final double | dy, | ||
final double | length | ||
) |
Get segment from point, direction and length.
ox | x-ordinate of origin |
oy | y-ordinate of origin |
dx | x-ordinate of direction |
dy | y-ordinate of direction |
length | length |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createShape | ( | final Shape | shape, |
final double | flatness | ||
) |
shape | |
flatness |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Coord... | points | ) |
points |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Polygon | poly | ) |
poly |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final Collection<?extends WB_Coord > | points | ) |
points |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Triangle | triangle | ) |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Quad | quad | ) |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Pentagon | pentagon | ) |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Hexagon | hexagon | ) |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final WB_Octagon | octagon | ) |
WB_Polygon wblut.geom.WB_GeometryFactory2D.createSimplePolygon | ( | final List<?extends WB_Coord > | tuples, |
final int[] | indices | ||
) |
tuples | |
indices |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createSimplifiedPolygon2D | ( | final WB_Polygon | poly, |
final double | tol | ||
) |
poly | |
tol |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createText | ( | final String | text, |
final String | fontName, | ||
final float | pointSize | ||
) |
text | |
fontName | |
pointSize |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createText | ( | final String | text, |
final String | fontName, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createText | ( | final String | text, |
final String | fontName, | ||
final int | style, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
style | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createText | ( | final String | text, |
final Font | font, | ||
final int | style, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
font | |
style | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createText | ( | final String | text, |
final Font | font, | ||
final double | flatness | ||
) |
text | |
font | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithOpenTypeFont | ( | final String | text, |
final String | fontName, | ||
final float | pointSize | ||
) |
text | |
fontName | |
pointSize |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithOpenTypeFont | ( | final String | text, |
final String | fontName, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithOpenTypeFont | ( | final String | text, |
final String | fontName, | ||
final int | style, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
style | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithTTFFont | ( | final String | text, |
final String | fontName, | ||
final float | pointSize | ||
) |
text | |
fontName | |
pointSize |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithTTFFont | ( | final String | text, |
final String | fontName, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithTTFFont | ( | final String | text, |
final String | fontName, | ||
final int | style, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
style | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithType1Font | ( | final String | text, |
final String | fontName, | ||
final float | pointSize | ||
) |
text | |
fontName | |
pointSize |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithType1Font | ( | final String | text, |
final String | fontName, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
pointSize | |
flatness |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.createTextWithType1Font | ( | final String | text, |
final String | fontName, | ||
final int | style, | ||
final float | pointSize, | ||
final double | flatness | ||
) |
text | |
fontName | |
style | |
pointSize | |
flatness |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createTransformedCS | ( | final WB_CoordinateSystem3D | CS, |
final WB_Transform | T, | ||
final WB_CoordinateSystem3D | parent | ||
) |
CS | |
T | |
parent |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.createTransformedCS | ( | final WB_CoordinateSystem3D | CS, |
final WB_Transform | T | ||
) |
CS | |
T |
WB_Triangle wblut.geom.WB_GeometryFactory2D.createTriangle2D | ( | final double | p1x, |
final double | p1y, | ||
final double | p2x, | ||
final double | p2y, | ||
final double | p3x, | ||
final double | p3y | ||
) |
Get triangle from 3 points.
p1x | x-ordinate of first point of triangle |
p1y | y-ordinate of first point of triangle |
p2x | x-ordinate of second point of triangle |
p2y | y-ordinate of second point of triangle |
p3x | x-ordinate of third point of triangle |
p3y | y-ordinate of third point of triangle |
WB_Triangle wblut.geom.WB_GeometryFactory2D.createTriangle2D | ( | final WB_Coord | p1, |
final WB_Coord | p2, | ||
final WB_Coord | p3 | ||
) |
Get triangle from 3 points.
p1 | first point of triangle |
p2 | second point of triangle |
p3 | third point of triangle |
List<WB_Coord> wblut.geom.WB_GeometryFactory2D.createUniquePoints | ( | final List< WB_Coord > | points, |
final double | threshold | ||
) |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVector2D | ( | ) |
New zero-length vector.
Copy of coordinate as vector, z-ordinate is ignored.
p | vector |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVector2D | ( | final double | _x, |
final double | _y | ||
) |
Vector from Cartesian coordinates http://en.wikipedia.org/wiki/Cartesian_coordinate_system
_x | x |
_y | y |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromBipolar | ( | final double | a, |
final double | sigma, | ||
final double | tau | ||
) |
Vector from bipolar coordinates http://en.wikipedia.org/wiki/Bipolar_coordinates
a | focus |
sigma | bipolar coordinate |
tau | bipolar coordinate |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromElliptic | ( | final double | a, |
final double | mu, | ||
final double | nu | ||
) |
Vector from elliptic coordinates http://en.wikipedia.org/wiki/Elliptic_coordinates
a | focus |
mu | elliptic coordinate >=0 |
nu | elliptic coordinate between -PI and PI |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromHyperbolic | ( | final double | u, |
final double | v | ||
) |
Vector from hyperbolic coordinates http://en.wikipedia.org/wiki/Hyperbolic_coordinates
u | hyperbolic angle |
v | geometric mean >0 |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromParabolic | ( | final double | sigma, |
final double | tau | ||
) |
Vector from parabolic coordinates http://en.wikipedia.org/wiki/Parabolic_coordinates
sigma | parabolic coordinate |
tau | parabolic coordinate |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromPolar | ( | final double | r, |
final double | phi | ||
) |
Vector from polar coordinates http://en.wikipedia.org/wiki/Polar_coordinate_system
r | radius |
phi | angle |
WB_Vector wblut.geom.WB_GeometryFactory2D.createVectorFromTo2D | ( | final WB_Coord | p, |
final WB_Coord | q | ||
) |
p | |
q |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.getCurrentCS | ( | ) |
|
private |
w | |
a |
|
static |
Legacy code, WB_GeometryFactory used to be a singleton but this limited its use in multithreaded code.
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.intersectPolygons2D | ( | final WB_Polygon | poly1, |
final WB_Polygon | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.intersectPolygons2D | ( | final WB_Polygon | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.intersectPolygons2D | ( | final Collection<?extends WB_Polygon > | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
WB_Coord wblut.geom.WB_GeometryFactory2D.minX2D | ( | ) |
WB_Coord wblut.geom.WB_GeometryFactory2D.minY2D | ( | ) |
WB_Coord wblut.geom.WB_GeometryFactory2D.origin2D | ( | ) |
void wblut.geom.WB_GeometryFactory2D.resetCurrentCS | ( | ) |
void wblut.geom.WB_GeometryFactory2D.setCurrentCS | ( | final WB_CoordinateSystem3D | CS | ) |
CS |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.subtractPolygons2D | ( | final WB_Polygon | poly1, |
final WB_Polygon | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.subtractPolygons2D | ( | final WB_Polygon | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.subtractPolygons2D | ( | final Collection<?extends WB_Polygon > | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.subtractPolygons2D | ( | final Collection<?extends WB_Polygon > | poly1, |
final WB_Polygon | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.symDifferencePolygons2D | ( | final WB_Polygon | poly1, |
final WB_Polygon | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.symDifferencePolygons2D | ( | final WB_Polygon | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.symDifferencePolygons2D | ( | final Collection<?extends WB_Polygon > | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
|
private |
p |
WB_Transform wblut.geom.WB_GeometryFactory2D.toWorld | ( | ) |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.unionPolygons2D | ( | final WB_Polygon | poly1, |
final WB_Polygon | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.unionPolygons2D | ( | final WB_Polygon | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
List<WB_Polygon> wblut.geom.WB_GeometryFactory2D.unionPolygons2D | ( | final Collection<?extends WB_Polygon > | poly1, |
final Collection<?extends WB_Polygon > | poly2 | ||
) |
poly1 | |
poly2 |
|
private |
circles |
WB_CoordinateSystem3D wblut.geom.WB_GeometryFactory2D.WORLD | ( | ) |
WB_Coord wblut.geom.WB_GeometryFactory2D.X2D | ( | ) |
WB_Coord wblut.geom.WB_GeometryFactory2D.Y2D | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |