Class VecCartesianVector2D

java.lang.Object
com.foursoft.harness.vec.v113.VecCartesianVector
com.foursoft.harness.vec.v113.VecCartesianVector2D
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable

public class VecCartesianVector2D extends VecCartesianVector implements Serializable, Visitable

A Cartesian vector in the two dimensional space.

Java class for CartesianVector2D complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="CartesianVector2D">
   <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"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • x

      protected double x

      Specifies the x-coordinate in 2D space.

    • y

      protected double y

      Specifies the y-coordinate in 2D space.

  • Constructor Details

    • VecCartesianVector2D

      public VecCartesianVector2D()
  • Method Details

    • getX

      public double getX()
      Gets the value of the x property.

      Specifies the x-coordinate in 2D space.

    • setX

      public void setX(double value)
      Sets the value of the x property.
      See Also:
    • getY

      public double getY()
      Gets the value of the y property.

      Specifies the y-coordinate in 2D space.

    • setY

      public void setY(double value)
      Sets the value of the y property.
      See Also:
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable