| 78 | #pragma region FCluster |
| 79 | |
| 80 | FCluster::FCluster(const TSharedPtr<PCGExData::FPointIO>& InVtxIO, const TSharedPtr<PCGExData::FPointIO>& InEdgesIO, |
| 81 | const TSharedPtr<PCGEx::FIndexLookup>& InNodeIndexLookup): |
| 82 | NodeIndexLookup(InNodeIndexLookup), VtxIO(InVtxIO), EdgesIO(InEdgesIO) |
| 83 | { |
| 84 | Nodes = MakeShared<TArray<FNode>>(); |
| 85 | Edges = MakeShared<TArray<FEdge>>(); |
| 86 | Bounds = FBox(ForceInit); |
| 87 | |
| 88 | VtxPoints = &InVtxIO->GetPoints(PCGExData::ESource::In); |
| 89 | } |
| 90 | |
| 91 | FCluster::FCluster(const TSharedRef<FCluster>& OtherCluster, |
| 92 | const TSharedPtr<PCGExData::FPointIO>& InVtxIO, |