Class VecGeometrySegment2D

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

public class VecGeometrySegment2D extends VecGeometrySegment implements Serializable, Visitable

A GeometrySegment2D is the geometric representation of a TopologySegment in 2D-space.

Java class for GeometrySegment2D complex type.

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


 <complexType name="GeometrySegment2D">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}GeometrySegment">
       <sequence>
         <element name="StartVector" type="{http://www.prostep.org/ecad-if/2011/vec}CartesianVector2D"/>
         <element name="EndVector" type="{http://www.prostep.org/ecad-if/2011/vec}CartesianVector2D"/>
         <element name="EndNode" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
         <element name="StartNode" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
         <element name="PathSegment" type="{http://www.prostep.org/ecad-if/2011/vec}PathSegment" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • startVector

      protected VecCartesianVector2D startVector

      Specifies the start vector of the geometry segment. The start vector is a tangent to the segment at the start position.

    • endVector

      protected VecCartesianVector2D endVector

      Specifies the end vector of the geometry segment. The end vector is a tangent to the segment at the end position.

    • endNode

      protected VecGeometryNode2D endNode
    • startNode

      protected VecGeometryNode2D startNode
    • pathSegments

      protected List<VecPathSegment> pathSegments
  • Constructor Details

    • VecGeometrySegment2D

      public VecGeometrySegment2D()
  • Method Details

    • getStartVector

      public VecCartesianVector2D getStartVector()
      Gets the value of the startVector property.

      Specifies the start vector of the geometry segment. The start vector is a tangent to the segment at the start position.

      Returns:
      possible object is VecCartesianVector2D
    • setStartVector

      public void setStartVector(VecCartesianVector2D value)
      Sets the value of the startVector property.
      Parameters:
      value - allowed object is VecCartesianVector2D
      See Also:
    • getEndVector

      public VecCartesianVector2D getEndVector()
      Gets the value of the endVector property.

      Specifies the end vector of the geometry segment. The end vector is a tangent to the segment at the end position.

      Returns:
      possible object is VecCartesianVector2D
    • setEndVector

      public void setEndVector(VecCartesianVector2D value)
      Sets the value of the endVector property.
      Parameters:
      value - allowed object is VecCartesianVector2D
      See Also:
    • getEndNode

      public VecGeometryNode2D getEndNode()
      Gets the value of the endNode property.
      Returns:
      possible object is Object
    • setEndNode

      public void setEndNode(VecGeometryNode2D value)
      Sets the value of the endNode property.
      Parameters:
      value - allowed object is Object
    • getStartNode

      public VecGeometryNode2D getStartNode()
      Gets the value of the startNode property.
      Returns:
      possible object is Object
    • setStartNode

      public void setStartNode(VecGeometryNode2D value)
      Sets the value of the startNode property.
      Parameters:
      value - allowed object is Object
    • getPathSegments

      public List<VecPathSegment> getPathSegments()
      Gets the value of the pathSegments property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the pathSegments property.

      For example, to add a new item, do as follows:

          getPathSegments().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecPathSegment

      Returns:
      The value of the pathSegments property.
    • getParentBuildingBlockSpecification2D

      public VecBuildingBlockSpecification2D getParentBuildingBlockSpecification2D()
      Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a VecBuildingBlockSpecification2D otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • accept

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