com.foursoft.vecmodel.vec113.VecCartesianVector3D Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.08.10 at 09:49:21 AM UTC
//
package com.foursoft.vecmodel.vec113;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.foursoft.vecmodel.vec113.visitor.Visitable;
import com.foursoft.vecmodel.vec113.visitor.Visitor;
/**
* A Cartesian vector in three dimensional space.
*
* Java class for CartesianVector3D complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CartesianVector3D">
* <complexContent>
* <extension base="{http://www.prostep.org/ecad-if/2011/vec}CartesianVector">
* <sequence>
* <element name="X" type="{http://www.w3.org/2001/XMLSchema}double"/>
* <element name="Y" type="{http://www.w3.org/2001/XMLSchema}double"/>
* <element name="Z" type="{http://www.w3.org/2001/XMLSchema}double"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartesianVector3D", propOrder = {
"x",
"y",
"z"
})
public class VecCartesianVector3D
extends VecCartesianVector
implements Serializable, Visitable
{
private final static long serialVersionUID = 1L;
/**
* Specifies the x-coordinate in 3D space.
*
*/
@XmlElement(name = "X")
protected double x;
/**
* Specifies the y-coordinate in 3D space.
*
*/
@XmlElement(name = "Y")
protected double y;
/**
* Specifies the z-coordinate in 3D space.
*
*/
@XmlElement(name = "Z")
protected double z;
/**
* Gets the value of the x property.
*
*
Specifies the x-coordinate in 3D space.
*
*/
public double getX() {
return x;
}
/**
* Sets the value of the x property.
*
* @see #getX()
*/
public void setX(double value) {
this.x = value;
}
/**
* Gets the value of the y property.
*
*
Specifies the y-coordinate in 3D space.
*
*/
public double getY() {
return y;
}
/**
* Sets the value of the y property.
*
* @see #getY()
*/
public void setY(double value) {
this.y = value;
}
/**
* Gets the value of the z property.
*
*
Specifies the z-coordinate in 3D space.
*
*/
public double getZ() {
return z;
}
/**
* Sets the value of the z property.
*
* @see #getZ()
*/
public void setZ(double value) {
this.z = value;
}
publicR accept(Visitor aVisitor)
throws E
{
return aVisitor.visitVecCartesianVector3D(this);
}
}