This class is a simple placeholder, it does not provide any processing methods.
Instances of this class are guaranteed to be immutable
AbstractRegion#projectToBoundary(Point)
| Modifier and Type | Field and Description |
|---|---|
| private final double | offset
Offset of the point with respect to the boundary it is projected on. |
| private final Point | original
Original point. |
| private final Point | projected
Projected point. |
| Access | Constructor and Description |
|---|---|
| public | BoundaryProjection(final Point<S>
original point original, final Point<S> projected point projected, final double offset of the point with respect to the boundary it is projected on offset)Constructor from raw elements. |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: offset of the point with respect to the boundary it is projected onOffset of the point with respect to the boundary it is projected on. |
| public Point | |
| public Point |
| offset | back to summary |
|---|---|
| private final double offset Offset of the point with respect to the boundary it is projected on. | |
| original | back to summary |
|---|---|
| private final Point<S> original Original point. | |
| projected | back to summary |
|---|---|
| private final Point<S> projected Projected point. | |
| BoundaryProjection | back to summary |
|---|---|
| public BoundaryProjection(final Point<S> original, final Point<S> projected, final double offset) Constructor from raw elements. | |
| getOffset | back to summary |
|---|---|
| public double getOffset() Offset of the point with respect to the boundary it is projected on.
The offset with respect to the boundary is negative if the
If there are no boundary, the value is set to either
| |
| getOriginal | back to summary |
|---|---|
| public Point Get the original point.
| |
| getProjected | back to summary |
|---|---|
| public Point Projected point.
| |