| 40 | } |
| 41 | |
| 42 | UnitVector PolygonPoint::getRelativePosition(RelativePositionFrom from) const |
| 43 | { |
| 44 | if (from == RelativePositionFrom::Point0) |
| 45 | return (*this - m_parent.get(0)); |
| 46 | else |
| 47 | return (*this - m_parent.getCentroid()); |
| 48 | } |
| 49 | |
| 50 | void PolygonPoint::setRelativePosition( |
| 51 | RelativePositionFrom from, const Transform::UnitVector& position) |
nothing calls this directly
no test coverage detected