Skip to content

Commit

Permalink
Merge PR #85.
Browse files Browse the repository at this point in the history
see #85
see #47

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Jun 12, 2016
2 parents 4ca03c7 + a9621e4 commit 12d7ca4
Show file tree
Hide file tree
Showing 320 changed files with 99,862 additions and 22,642 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ public Point3D[] getPolyline3D() throws InvalidAttributeTypeException, Attribute
return new Point3D[] {};
case POINT3D:
return new Point3D[] {
((Point3D) this.value).clone(),
((Point3D<?, ?>) this.value).clone(),
};
case POLYLINE:
final Point2D<?, ?>[] current = (Point2D<?, ?>[]) this.value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public final class MathFXAttributeNames {
*/
public static final String CENTER_Y = "centerY"; //$NON-NLS-1$

/** {@code centerZ}.
*/
public static final String CENTER_Z = "centerZ"; //$NON-NLS-1$

/** {@code controlPointBoundingBox}.
*/
public static final String CONTROL_POINT_BOUNDING_BOX = "controlPointBoundingBox"; //$NON-NLS-1$
Expand All @@ -58,6 +62,10 @@ public final class MathFXAttributeNames {
*/
public static final String COORDINATES = "coordinates"; //$NON-NLS-1$

/** {@code depth}.
*/
public static final String DEPTH = "depth"; //$NON-NLS-1$

/** {@code elements}.
*/
public static final String ELEMENTS = "elements"; //$NON-NLS-1$
Expand Down Expand Up @@ -110,6 +118,10 @@ public final class MathFXAttributeNames {
*/
public static final String MAXIMUM_Y = "maxY"; //$NON-NLS-1$

/** {@code maxZ}.
*/
public static final String MAXIMUM_Z = "maxZ"; //$NON-NLS-1$

/** {@code minX}.
*/
public static final String MINIMUM_X = "minX"; //$NON-NLS-1$
Expand All @@ -118,6 +130,10 @@ public final class MathFXAttributeNames {
*/
public static final String MINIMUM_Y = "minY"; //$NON-NLS-1$

/** {@code minZ}.
*/
public static final String MINIMUM_Z = "minZ"; //$NON-NLS-1$

/** {@code radius}.
*/
public static final String RADIUS = "radius"; //$NON-NLS-1$
Expand Down Expand Up @@ -174,6 +190,22 @@ public final class MathFXAttributeNames {
*/
public static final String Y3 = "y3"; //$NON-NLS-1$

/** {@code z}.
*/
public static final String Z = "z"; //$NON-NLS-1$

/** {@code z}.
*/
public static final String Z1 = "z1"; //$NON-NLS-1$

/** {@code z}.
*/
public static final String Z2 = "z2"; //$NON-NLS-1$

/** {@code z}.
*/
public static final String Z3 = "z3"; //$NON-NLS-1$

private MathFXAttributeNames() {
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @mavenartifactid $ArtifactId$
* @since 13.0
*/
@SuppressWarnings("checkstyle:classdataabstractioncoupling")
public class GeomFactory2dfx implements GeomFactory2afp<PathElement2dfx, Point2dfx, Vector2dfx, Rectangle2dfx> {

/** The singleton of the factory.
Expand Down Expand Up @@ -220,6 +221,26 @@ public PathElement2dfx newArcPathElement(double startX, double startY, double ta
new SimpleBooleanProperty(sweepFlag));
}

@Override
public OrientedPoint2dfx newOrientedPoint(double x, double y) {
return new OrientedPoint2dfx(x, y);
}

@Override
public OrientedPoint2dfx newOrientedPoint(double x, double y, double length) {
return new OrientedPoint2dfx(x, y, length);
}

@Override
public OrientedPoint2dfx newOrientedPoint(double x, double y, double dirX, double dirY) {
return new OrientedPoint2dfx(x, y, dirX, dirY);
}

@Override
public OrientedPoint2dfx newOrientedPoint(double x, double y, double length, double dirX, double dirY) {
return new OrientedPoint2dfx(x, y, length, dirX, dirY);
}

@Override
public MultiShape2dfx<?> newMultiShape() {
return new MultiShape2dfx<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* <p>Caution: The multishape does not detect the bound change of the stored shapes.
*
* @param <T> the type of the shapes inside the multishape.
* @author $Author: tpiotrowski$
* @author $Author: tpiotrow$
* @author $Author: sgalland$
* @version $FullVersion$
* @mavengroupid $GroupId$
Expand Down
Loading

0 comments on commit 12d7ca4

Please sign in to comment.