Commit d5194fe2 authored by Beuster's avatar Beuster
Browse files

Added basic versions of classes needed for HealingBySweep in .bht package

parent 0d5ebbdf
Pipeline #11116 passed with stage
in 1 minute and 31 seconds
...@@ -6,3 +6,4 @@ ...@@ -6,3 +6,4 @@
/CityDoctorParent/.idea/vcs.xml /CityDoctorParent/.idea/vcs.xml
.idea .idea
/GUISettings.properties /GUISettings.properties
/.metadata/
package de.hft.stuttgart.citydoctor2.utils.visitors.bht;
import de.hft.stuttgart.citydoctor2.check.AbstractVisitor;
import de.hft.stuttgart.citydoctor2.datastructure.CityObject;
import java.util.HashSet;
import java.util.Set;
/**
* This Visitor collects all sub-CityObjects that are in the datastructure of a CityObject (including itself) in a Set.
*/
public class PolygonCollector extends AbstractVisitor {
// private final Set<CityObject> objects = new HashSet<>();
//
// /**
// * Returns the collected CityObjects.
// *
// * @return A set of CityObjects
// */
// public Set<CityObject> getCityObjects() {
// return objects;
// }
//
// @Override
// public void check(CityObject co) {
// objects.add(co);
// }
}
package de.hft.stuttgart.citydoctor2.healer.bht;
import java.util.ArrayList;
import java.util.*;
public class HealingBySweepClass {
// public static void main(String[] args) {
// // TODO Auto-generated method stub
//
// }
// LinkedList<Integer> PolygonsToHeal = new LinkedList<Integer>();
List<Integer> PolygonsToHeal = new ArrayList<Integer>();
}
package de.hft.stuttgart.citydoctor2.healer.bht;
import java.util.ArrayList;
import java.util.*;
public class HealingBySweepPlanarity {
// public static void main(String[] args) {
// // TODO Auto-generated method stub
//
// }
boolean PrintInfo;
// boolean IgnoreMultiplePoints;
double Eps_PlanarityTolerance;
// public boolean isPointInPlane(GmPlane plane, Point3d point, double tolerance)
// {
// Point3d foot = plane.project(point);
// double dist = (point - foot).getLength();
//
// if (dist > tolerance)
// {
// return false;
// }
//
// return true;
// }
//
// public Point3dList getComplexPoints(Face cpFace)
// {
//
// }
//
// public LinkedList<Vertex > splitVertexCut(Vertex pVertexToSplit, Face pSweepFace)
// {
//
// }
//
// public LinkedList<HealingBySweepPlanarity.SplitCutTriple> sortSplitCutTriples(LinkedList<SplitCutTriple> unsortedTriples, Face pMainFace)
// {
//
// }
//
// public Vertex splitVertexPull(Vertex pVertexToSplit, Face pFaceToSweep, final LinkedList<Face> newNeighborFaces, LinkedList<Edge > edgesToElongateList)
// {
//
// }
}
package de.hft.stuttgart.citydoctor2.healer.bht;
public class SplitCutTriple {
// public static void main(String[] args) {
// // TODO Auto-generated method stub
//
// }
// public Face pFace_left;
// public Edge pEdge_left;
// public Face pFace_center;
// public Edge pEdge_rigth;
// public Face pFace_rigth;
//
// public boolean equalsTo(SplitCutTriple st)
// {
// if (st.pFace_center == pFace_center)
// {
// return true;
// }
// else
// {
// return false;
// }
// }
}
package de.hft.stuttgart.citydoctor2.healer.bht;
public class SweepOperator {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
package de.hft.stuttgart.citydoctor2.healer.bht;
public class SweepUtilities {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment