int templateEdge, boolean[][] match1on1Array, MatchingOptions matchingOptions) {
boolean match1on1 = match1On1(pattern, template, patternEdge, templateEdge, matchingOptions
.isNoRotation());
match1on1Array[patternEdge][templateEdge] = match1on1;
Edge pEdge = pattern.virtualEdges()[patternEdge];
double pEdgeLength = DistanceHelper.getLength(pEdge, pattern);
double pMaxEdgeLength = pattern.getLengthOfLongestEdge();
// double pEdgeDistanceToCenter =
// DistanceHelper.getDistanceToCenter(pEdge, pattern);
double pMaxDistanceToCenter = pattern.getMaximumVertexDistanceToCenter();
// pMaxDistanceToCenter = pattern.getLengthOfAllEdges();
double pLengthBonus = getBonus(pEdgeLength, pMaxEdgeLength);
// double pDistanceBonus = getBonus(pEdgeDistanceToCenter,
// pMaxDistanceToCenter);
Edge tEdge = template.virtualEdges()[templateEdge];
double tEdgeLength = DistanceHelper.getLength(tEdge, template);
double tMaxEdgeLength = template.getLengthOfLongestEdge();
// double tEdgeDistanceToCenter =
// DistanceHelper.getDistanceToCenter(tEdge, template);
double tMaxDistanceToCenter = template.getMaximumVertexDistanceToCenter();