public interface IShape extends IGeometry
IShape
is the representation of an areal geometric object. It is
thus the counterpart of an ICurve
.
An IShape
allows to test if another IGeometry
is fully
contained by it (contains(IGeometry)
). Moreover its (closed) outline
can be retrieved as an whole (getOutline()
) or in the form of
individual segments (getOutlineSegments()
. As all other
IGeometry
s, an IShape
may be transformed (
getTransformed(AffineTransform)
) into another IShape
.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IGeometry g)
|
ICurve |
getOutline()
|
ICurve[] |
getOutlineSegments()
|
IShape |
getTransformed(AffineTransform t)
Returns a new
IShape , which represents the given IShape
after the application of the given AffineTransform . |
boolean contains(IGeometry g)
ICurve[] getOutlineSegments()
IShape getTransformed(AffineTransform t)
IShape
, which represents the given IShape
after the application of the given AffineTransform
.getTransformed
in interface IGeometry
t
- The AffineTransform
to be appliedIGeometry
object representing this
IGeometry
after the application of the given
AffineTransform
.IGeometry.getTransformed(AffineTransform)
Copyright (c) 2014 itemis AG, and others. All rights reserved.