-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore not core : upgrade spotless and google java format and apply
Only formatting ! Change-Id: I4aec08b5f4fd8e62f998f3d7c36e00c350d7285f
- Loading branch information
Showing
158 changed files
with
2,103 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
*/ | ||
package org.kabeja.dxf; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXF3DSolid extends DXFRegion { | ||
/* (non-Javadoc) | ||
* @see de.miethxml.kabeja.dxf.DXFEntity#getType() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,9 @@ | |
import org.kabeja.math.MathUtils; | ||
import org.kabeja.math.ParametricPlane; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFArc extends DXFEntity { | ||
private Point center; | ||
private double radius; | ||
|
@@ -20,32 +22,44 @@ public DXFArc() { | |
center = new Point(); | ||
} | ||
|
||
/** @return Returns the end_angle. */ | ||
/** | ||
* @return Returns the end_angle. | ||
*/ | ||
public double getEndAngle() { | ||
return end_angle; | ||
} | ||
|
||
/** @param end_angle The end_angle to set. */ | ||
/** | ||
* @param end_angle The end_angle to set. | ||
*/ | ||
public void setEndAngle(double end_angle) { | ||
this.end_angle = end_angle; | ||
} | ||
|
||
/** @return Returns the radius. */ | ||
/** | ||
* @return Returns the radius. | ||
*/ | ||
public double getRadius() { | ||
return radius; | ||
} | ||
|
||
/** @param radius The radius to set. */ | ||
/** | ||
* @param radius The radius to set. | ||
*/ | ||
public void setRadius(double radius) { | ||
this.radius = radius; | ||
} | ||
|
||
/** @return Returns the start_angle. */ | ||
/** | ||
* @return Returns the start_angle. | ||
*/ | ||
public double getStartAngle() { | ||
return start_angle; | ||
} | ||
|
||
/** @param start_angle The start_angle to set. */ | ||
/** | ||
* @param start_angle The start_angle to set. | ||
*/ | ||
public void setStartAngle(double start_angle) { | ||
this.start_angle = start_angle; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
*/ | ||
package org.kabeja.dxf; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFAttrib extends DXFText { | ||
public DXFAttrib() {} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ | |
import java.util.Iterator; | ||
import org.kabeja.dxf.helpers.Point; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFBlock { | ||
public static String TYPE = "BLOCK"; | ||
private Point referencePoint; | ||
|
@@ -58,22 +60,30 @@ public Bounds getBounds() { | |
return bounds; | ||
} | ||
|
||
/** @return Returns the description. */ | ||
/** | ||
* @return Returns the description. | ||
*/ | ||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
/** @param description The description to set. */ | ||
/** | ||
* @param description The description to set. | ||
*/ | ||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
/** @return Returns the p. */ | ||
/** | ||
* @return Returns the p. | ||
*/ | ||
public Point getReferencePoint() { | ||
return referencePoint; | ||
} | ||
|
||
/** @param p The p to set. */ | ||
/** | ||
* @param p The p to set. | ||
*/ | ||
public void setReferencePoint(Point p) { | ||
this.referencePoint = p; | ||
} | ||
|
@@ -82,32 +92,44 @@ public void addDXFEntity(DXFEntity entity) { | |
entities.add(entity); | ||
} | ||
|
||
/** @return a iterator over all entities of this block */ | ||
/** | ||
* @return a iterator over all entities of this block | ||
*/ | ||
public Iterator<DXFEntity> getDXFEntitiesIterator() { | ||
return entities.iterator(); | ||
} | ||
|
||
/** @return Returns the layerID. */ | ||
/** | ||
* @return Returns the layerID. | ||
*/ | ||
public String getLayerID() { | ||
return layerID; | ||
} | ||
|
||
/** @param layerID The layerID to set. */ | ||
/** | ||
* @param layerID The layerID to set. | ||
*/ | ||
public void setLayerID(String layerID) { | ||
this.layerID = layerID; | ||
} | ||
|
||
/** @return Returns the name. */ | ||
/** | ||
* @return Returns the name. | ||
*/ | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** @param name The name to set. */ | ||
/** | ||
* @param name The name to set. | ||
*/ | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
/** @param doc The doc to set. */ | ||
/** | ||
* @param doc The doc to set. | ||
*/ | ||
public void setDXFDocument(DXFDocument doc) { | ||
this.doc = doc; | ||
|
||
|
@@ -119,7 +141,9 @@ public void setDXFDocument(DXFDocument doc) { | |
} | ||
} | ||
|
||
/** @return the parent document */ | ||
/** | ||
* @return the parent document | ||
*/ | ||
public DXFDocument getDXFDocument() { | ||
return this.doc; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
*/ | ||
package org.kabeja.dxf; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFBody extends DXFRegion { | ||
/* (non-Javadoc) | ||
* @see de.miethxml.kabeja.dxf.DXFEntity#getType() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,9 @@ | |
import org.kabeja.dxf.helpers.Point; | ||
import org.kabeja.math.ParametricPlane; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFCircle extends DXFEntity { | ||
private Point center; | ||
private double radius; | ||
|
@@ -30,7 +32,9 @@ public double getRadius() { | |
return radius; | ||
} | ||
|
||
/** @param radius The radius to set. */ | ||
/** | ||
* @param radius The radius to set. | ||
*/ | ||
public void setRadius(double radius) { | ||
this.radius = radius; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
*/ | ||
package org.kabeja.dxf; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFColor { | ||
private static int[][] rgbs = { | ||
{255, 0, 0}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,9 @@ | |
|
||
import org.kabeja.dxf.helpers.Vector; | ||
|
||
/** @author <a href="mailto:[email protected]>Simon Mieth</a> */ | ||
/** | ||
* @author <a href="mailto:[email protected]>Simon Mieth</a> | ||
*/ | ||
public class DXFConstants { | ||
public static final int COMMAND_CODE = 0; | ||
public static final String DEFAULT_LAYER = "0"; | ||
|
Oops, something went wrong.