geometry-polygon-offset

Offset polygon geometry for terrain and coastline using edge-normal offsets and miter joins.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill geometry-polygon-offset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geometry-polygon-offset
Source: https://github.com/gregoryraymond/claude-agents-and-skills/tree/main/skills/geometry-polygon-offset
Command: npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill geometry-polygon-offset

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Offset polygon geometry for terrain and coastline using edge-normal offsets, miter joins, and Clipper-based workflows.

Core Features & Use Cases

  • Edge-normal offset, miter joins with clamping, and Round/Bevel combinations for robust results.
  • Support for inward and outward offsets, beach and border generation, coastline testing, and Minkowski sum concepts.
  • Real-world scenarios include creating beach zones, coastal borders, cliff walls, and soft-edged border strips.

Quick Start

Offset a polygon by selecting a delta and join type to generate an offset geometry for a terrain coastline.

Frequently Asked Questions about geometry-polygon-offset

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I offset polygon geometry for a terrain coastline?

To offset polygon geometry for a terrain coastline, you select a delta and join type to generate an offset geometry using edge-normal offsets. This workflow supports creating beach zones, coastal borders, and cliff walls.

What is the best way to handle miter joins and self-intersections in polygon offsetting?

Handling miter joins and self-intersections in polygon offsetting requires clamping miter limits and using Clipper2 workflows. Combining Round and Bevel joins ensures robust results for complex concave polygons.

Can I use Clipper-based workflows for inward and outward polygon offsets?

Yes, you can use Clipper-based workflows for inward and outward polygon offsets. These workflows support hole handling and Minkowski sum concepts to generate precise border strips and soft edges.

Does polygon offsetting support straight-skeleton topologies for concave polygons?

Polygon offsetting supports straight-skeleton topologies across both convex and concave polygons. This approach requires precise handling of joins and miter limits to maintain robustness during coastline testing.

Why does my edge-normal offset fail on complex concave coastlines?

Edge-normal offsets fail on complex coastlines due to unresolved self-intersections and inadequate miter limits. Applying Clipper2 concepts and robust join configurations prevents these topology errors.