|
| | TGeneralPolygon2 () |
| |
| | TGeneralPolygon2 (const TPolygon2< T > &ToSetOuter) |
| |
| void | SetOuter (const TPolygon2< T > &ToSetOuter) |
| |
| void | SetOuterWithOrientation (const TPolygon2< T > &ToSetOuter, bool bToSetOuterIsCW) |
| |
| const TPolygon2< T > & | GetOuter () const |
| |
| const TArray< TPolygon2< T > > & | GetHoles () const |
| |
| bool | AddHole (TPolygon2< T > Hole, bool bCheckContainment=true, bool bCheckOrientation=true) |
| |
| void | ClearHoles () |
| |
| bool | HasHoles () const |
| |
| void | FilterHoles (TFunctionRef< bool(const TPolygon2< T > &)> RemoveHolePredicateFunc) |
| |
| double | SignedArea () const |
| |
| double | HoleUnsignedArea () const |
| |
| double | Perimeter () const |
| |
| TAxisAlignedBox2< T > | Bounds () const |
| |
| void | Translate (TVector2< T > translate) |
| |
| void | Scale (TVector2< T > scale, TVector2< T > origin) |
| |
| void | Transform (const TFunction< TVector2< T >(const TVector2< T > &)> &TransformFunc) |
| |
| void | Reverse () |
| |
| bool | OuterIsClockwise () const |
| |
| bool | Contains (TVector2< T > vTest) const |
| |
| bool | Contains (TPolygon2< T > Poly) const |
| |
| bool | Intersects (TPolygon2< T > Poly) const |
| |
| TVector2< T > | GetSegmentPoint (int iSegment, double fSegT, int iHoleIndex=-1) const |
| |
| TSegment2< T > | Segment (int iSegment, int iHoleIndex=-1) const |
| |
| TVector2< T > | GetNormal (int iSegment, double segT, int iHoleIndex=-1) const |
| |
| double | DistanceSquared (TVector2< T > p, int &iHoleIndex, int &iNearSeg, double &fNearSegT) const |
| |
| void | Simplify (double ClusterTol=0.0001, double LineDeviationTol=0.01) |
| |
| void | VtxNormalOffset (T OffsetDistance, bool bUseFaceAvg=false) |
| |
template<
typename T>
class UE::Geometry::TGeneralPolygon2< T >
TGeneralPolygon2 is a 2D polygon with holes