Platforms to show: All Mac Windows Linux Cross-Platform
ClipperOffsetMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Preconditions for offsetting:
1. The orientations of closed paths must be consistent such that outer polygons share the same orientation, and any holes have the opposite orientation (ie non-zero filling). Open paths must be oriented with closed outer polygons.
2. Polygons must not self-intersect.
Limitations:
When offsetting, small artefacts may appear where polygons overlap. To avoid these artefacts, offset overlapping polygons separately.
- 5 properties
- property ArcTolerance as Double
- property Handle as Integer
- property MiterLimit as Double
- property Owner as Variant
- property Tag as Variant
- 8 methods
- method AddPath(path as ClipperPathMBS, joinType as ClipperMBS.JoinType, endType as ClipperMBS.EndType)
- method AddPath(path as ClipperPathMBS, joinType as Integer, endType as Integer)
- method AddPaths(paths as ClipperPathsMBS, joinType as ClipperMBS.JoinType, endType as ClipperMBS.EndType)
- method AddPaths(paths as ClipperPathsMBS, joinType as Integer, endType as Integer)
- method Clear
- method Constructor(miterLimit as double = 2.0, roundPrecision as double = 0.25)
- method Execute(byref Paths as ClipperPathsMBS, delta as double)
- method Execute(byref PolyTree as ClipperPolyTreeMBS, delta as double)
This class has no sub classes.
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS Tools Plugin.
ClipperExceptionMBS - ClipperPathMBS