Class VecPathSegment

java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecPathSegment
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, Visitable, Serializable

public class VecPathSegment extends VecExtendableElement implements Serializable, Visitable

A PathSegment is a part of the 2D presentation of a GeometrySegment2D. The complete presentation of a GeometrySegment2D is built from an ordered list of PathSegments. Each PathSegment has an ordered list of control points through which the path goes. If no curveRadius is specified the control points are connected by a direct straight lines. If a curveRadius is specified, the PathSegment can be drawn by a segment of a circle which touches all control points and has the radius specified.

Java class for PathSegment complex type.

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


 <complexType name="PathSegment">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="CurveRadius" type="{http://www.prostep.org/ecad-if/2011/vec}NumericalValue" minOccurs="0"/>
         <element name="ControlPoint" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • VecPathSegment

      public VecPathSegment()
  • Method Details

    • getCurveRadius

      public VecNumericalValue getCurveRadius()
      Gets the value of the curveRadius property.

      The radius of the curve which describes the appearance of the path segment.

      Returns:
      possible object is VecNumericalValue
    • setCurveRadius

      public void setCurveRadius(VecNumericalValue value)
      Sets the value of the curveRadius property.
      Parameters:
      value - allowed object is VecNumericalValue
      See Also:
    • getControlPoint

      public List<VecCartesianPoint2D> getControlPoint()
      Gets the value of the controlPoint 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 controlPoint property.

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

          getControlPoint().add(newItem);
       

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

    • getParentGeometrySegment2D

      public VecGeometrySegment2D getParentGeometrySegment2D()
      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 VecGeometrySegment2D 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