geometry >> Computational Geometry 2D Descriptive geom2d_Contents points2d vectors2d angles2d edges2d rays2d lines2d boxes2d circles2d ellipses2d transforms2d polygons2d 2D Points centroid closed_path distancePoints drawPoint isCounterClockwise isPointOnRay isPointInCircle isPointOnCircle isPointOnLine isPointInEllipse midPoint minDistancePoints polarPoint 2D Vectors createVector vectorNorm normalizeVector rotateVector 2D Angles angle2Points angle3Points angleAbsDiff angleDiff normalizeAngle vectorAngle angleSort lineAngle edgeAngle deg2rad rad2deg 2D Edges createEdge distancePointEdge drawCenteredEdge drawEdge edgeLength edgePosition edgeToLine intersectEdges intersectLineEdge reverseEdge transformEdge isPointOnEdge 2D Rays drawRay createRay 2D Lines cartesianLine createLine distancePointLine drawLine intersectLines isParallel isPerpendicular linePosition medianLine isLeftOriented orthogonalLine parallelLine pointOnLine projPointOnLine reverseLine 2D Boxes clipEdge clipLine clipPoints clipRay mergeBoxes intersectBoxes drawBox randomPointInBox drawRect drawOrientedBox 2D Circles createCircle createDirectedCircle circleArcAsCurve circleAsPolygon drawCircleArc drawCircle enclosingCircle intersectCircles intersectLineCircle radicalAxis 2D Ellipses cov2ellipse drawEllipseArc drawEllipse ellipseAsPolygon ellipse2cov inertiaEllipse 2D Transformations transformLine transformPoint transformVector createBasisTransform createHomothecy createLineReflection createRotation createScaling createTranslation fitAffineTransform2d 2D Cubic Bezier drawBezierCurve cbezier2poly 2D Polygons curvature distancePolygons distancePointPolygon distancePointPolyline drawPolygon expandPolygon medialAxisConvex oc_polybool parametrize polygonLoops polygonSelfIntersections polylineSelfIntersections reversePolyline reversePolygon simplifypolygon simplifypolyline splitPolygons supportFunction 2D Piecewise polynomial shapes polygon2shape shape2polygon shapecentroid shapeplot shapetransform curveval curve2polyline 2D Others beltproblem bisector crackPattern2 crackPattern drawArrow drawLabels drawParabola drawShape hexagonalGrid squareGrid triangleGrid Geometric graphs creation delaunayGraph.m knnGraph.m voronoi2d.m Geometric graphs visualization drawGraph.m Geometric graphs manipulation Input @svg/svg @svg/plot @svg/getpath @svg/path2polygon @svg/normalize @svg/pathid @svg/height @svg/width Output data2geo