Package com.solibri.smc.api.footprints
Interface Footprint
public interface Footprint
Footprint represents the effect a component has when flattened to two dimensions. Every component has a footprint,
but for some cases the footprint might be empty.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptiongetArea()
Returns the 2 dimensional area of the footprint.Returns a simple one-polygon footprint of the component.
-
Method Details
-
getOutline
Polygon2d getOutline()Returns a simple one-polygon footprint of the component. If the whole footprint consists of one "body", it's outer polygon is used. Otherwise this returns the convex hull of the polygon.- Returns:
- a simple one-polygon footprint
- Since:
- 9.10.2
-
getArea
Area getArea()Returns the 2 dimensional area of the footprint.- Returns:
- the area of the footprint
-