public class DrawLineAlongConvexHull extends ObjectCollectionProviderUnary
For each object: 1. extracts the convex hull of the outline (a set of points) 2. connects these points together by walking a line between them. This ensures it is a single connected component.
This only currently works in 2D on coplanar (XY) points.
Constructor and Description |
---|
DrawLineAlongConvexHull() |
Modifier and Type | Method and Description |
---|---|
protected ObjectCollection |
createFromObjects(ObjectCollection objects)
Creates a
ObjectCollection given the entity provided by the delegate. |
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objects
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.