|
| | TPolygon2 () |
| |
| | TPolygon2 (const TArray< TVector2< T > > &VertexList) |
| |
| template<typename OtherVertexType > |
| | TPolygon2 (const TArray< OtherVertexType > &VertexList) |
| |
| | TPolygon2 (TArrayView< const TVector2< T > > VertexArray, TArrayView< const int32 > VertexIndices) |
| |
| const TVector2< T > & | operator[] (int Index) const |
| |
| TVector2< T > & | operator[] (int Index) |
| |
| const TVector2< T > & | Start () const |
| |
| const TArray< TVector2< T > > & | GetVertices () const |
| |
| int | VertexCount () const |
| |
| void | AppendVertex (const TVector2< T > &Position) |
| |
| void | AppendVertices (const TArray< TVector2< T > > &NewVertices) |
| |
| void | Set (int VertexIndex, const TVector2< T > &Position) |
| |
| void | RemoveVertex (int VertexIndex) |
| |
| void | SetVertices (const TArray< TVector2< T > > &NewVertices) |
| |
| void | Reverse () |
| |
| TVector2< T > | GetTangent (int VertexIndex) const |
| |
| TVector2< T > | GetNormal (int VertexIndex) const |
| |
| TVector2< T > | GetNormal_FaceAvg (int VertexIndex) const |
| |
| TAxisAlignedBox2< T > | Bounds () const |
| |
| SegmentIterator | SegmentItr () const |
| |
| SegmentEnumerable | Segments () const |
| |
| bool | IsClockwise () const |
| |
| T | SignedArea () const |
| |
| T | Area () const |
| |
| T | Perimeter () const |
| |
| void | NeighbourPoints (int VertexIdx, TVector2< T > &OutPrevNbr, TVector2< T > &OutNextNbr) const |
| |
| void | NeighbourVectors (int VertexIdx, TVector2< T > &OutToPrev, TVector2< T > &OutToNext, bool bNormalize=false) const |
| |
| T | OpeningAngleDeg (int iVertex) const |
| |
| T | WindingIntegral (const TVector2< T > &QueryPoint) const |
| |
| bool | IsConvex (T RadiansTolerance=TMathUtil< T >::ZeroTolerance, bool bDegenerateIsConvex=true) const |
| |
| bool | Contains (const TVector2< T > &QueryPoint) const |
| |
| bool | Overlaps (const TPolygon2< T > &OtherPoly) const |
| |
| bool | Contains (const TPolygon2< T > &OtherPoly) const |
| |
| bool | Contains (const TSegment2< T > &Segment) const |
| |
| void | ClipConvex (const TAxisAlignedBox2< T > &Bounds) |
| |
| bool | Intersects (const TPolygon2< T > &OtherPoly) const |
| |
| bool | Intersects (const TSegment2< T > &Segment) const |
| |
| bool | FindIntersections (const TPolygon2< T > &OtherPoly, TArray< TVector2< T > > &OutArray) const |
| |
| TSegment2< T > | Segment (int SegmentIndex) const |
| |
| TVector2< T > | GetSegmentPoint (int SegmentIndex, T SegmentParam) const |
| |
| TVector2< T > | GetSegmentPointUnitParam (int SegmentIndex, T SegmentParam) const |
| |
| TVector2< T > | GetNormal (int iSeg, T SegmentParam) const |
| |
| T | DistanceSquared (const TVector2< T > &QueryPoint, int &NearestSegIndexOut, T &NearestSegParamOut) const |
| |
| T | DistanceSquared (const TVector2< T > &QueryPoint) const |
| |
| T | AverageEdgeLength () const |
| |
| TPolygon2< T > & | Translate (const TVector2< T > &Translate) |
| |
| TPolygon2< T > & | Scale (const TVector2< T > &Scale, const TVector2< T > &Origin) |
| |
| TPolygon2< T > & | Transform (const TFunction< TVector2< T >(const TVector2< T > &)> &TransformFunc) |
| |
| void | VtxNormalOffset (T OffsetDistance, bool bUseFaceAvg=false) |
| |
| void | PolyOffset (T OffsetDistance) |
| |
| void | Simplify (T ClusterTolerance=0.0001, T LineDeviationTolerance=0.01) |
| |
| void | Chamfer (T ChamferDist, T MinConvexAngleDeg=30, T MinConcaveAngleDeg=30) |
| |
template<
typename T>
class UE::Geometry::TPolygon2< T >
TPolygon2 is a 2D polygon represented as a list of Vertices.