What problem does it solve?
AutoCAD geometry is fundamental but error-prone when manually computing distances, transforms, intersections, and coordinate conversions across 2D/3D spaces. This skill provides robust primitives and patterns for reliable geometric math and transformations within the AutoCAD .NET API context.
Core Features & Use Cases
- Point2d/Point3d, Vector2d/Vector3d, and Matrix3d helpers for common CAD math.
- Operators and methods for distance, projection, rotation, and transformation across WCS/UCS/OCS.
- Lines, Arcs, Circles, and Curves with intersection and bounding volume utilities.
- Tolerance handling, extents/bounds, and coordinate system conversions for accurate CAD computations.
- Real-world recipes and gotchas to avoid typical pitfalls when scripting geometry.
Quick Start
Calculate the distance between two sample points and rotate one point around a center by 90 degrees.