Platforms to show: All Mac Windows Linux Cross-Platform
Back to ClipperOffsetMBS class.
ClipperOffsetMBS.AddPath(path as ClipperPathMBS, joinType as ClipperMBS.JoinType, endType as ClipperMBS.EndType)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any number of paths can be added, and each has its own JoinType and EndType. All 'outer' Paths must have the same orientation, and any 'hole' paths must have reverse orientation. Closed paths must have at least 3 vertices. Open paths may have as few as one vertex. Open paths can only be offset with positive deltas.
See also:
ClipperOffsetMBS.AddPath(path as ClipperPathMBS, joinType as Integer, endType as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any number of paths can be added, and each has its own JoinType and EndType. All 'outer' Paths must have the same orientation, and any 'hole' paths must have reverse orientation. Closed paths must have at least 3 vertices. Open paths may have as few as one vertex. Open paths can only be offset with positive deltas.
See also:
ClipperOffsetMBS.AddPaths(paths as ClipperPathsMBS, joinType as ClipperMBS.JoinType, endType as ClipperMBS.EndType)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any number of paths can be added, and each path has its own JoinType and EndType. All 'outer' Paths must have the same orientation, and any 'hole' paths must have reverse orientation. Closed paths must have at least 3 vertices. Open paths may have as few as one vertex. Open paths can only be offset with positive deltas.
See also:
ClipperOffsetMBS.AddPaths(paths as ClipperPathsMBS, joinType as Integer, endType as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any number of paths can be added, and each path has its own JoinType and EndType. All 'outer' Paths must have the same orientation, and any 'hole' paths must have reverse orientation. Closed paths must have at least 3 vertices. Open paths may have as few as one vertex. Open paths can only be offset with positive deltas.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
ClipperOffsetMBS.Constructor(miterLimit as double = 2.0, roundPrecision as double = 0.25)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The ClipperOffset constructor takes 2 optional parameters: MiterLimit and ArcTolerance. Thes two parameters corresponds to properties of the same name. MiterLimit is only relevant when JoinType is jtMiter, and ArcTolerance is only relevant when JoinType is jtRound or when EndType is etOpenRound.
ClipperOffsetMBS.Execute(byref Paths as ClipperPathsMBS, delta as double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method takes two parameters. The first is the structure that receives the result of the offset operation (either a PolyTree or a Paths structure). The second parameter is the amount to which the supplied paths will be offset. Negative delta values shrink polygons and positive delta expand them.
This method can be called multiple times, offsetting the same paths by different amounts (ie using different deltas).
See also:
ClipperOffsetMBS.Execute(byref PolyTree as ClipperPolyTreeMBS, delta as double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipper | MBS Tools Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method takes two parameters. The first is the structure that receives the result of the offset operation (either a PolyTree or a Paths structure). The second parameter is the amount to which the supplied paths will be offset. Negative delta values shrink polygons and positive delta expand them.
This method can be called multiple times, offsetting the same paths by different amounts (ie using different deltas).
See also:
The items on this page are in the following plugins: MBS Tools Plugin.