- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,Visitable,Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecCartesianPoint2D>protected VecNumericalValueThe radius of the curve which describes the appearance of the path segment.Fields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the controlPoint property.Gets the value of the curveRadius property.Gets a reference to the parent of this object in the XML DOM Tree.voidsetCurveRadius(VecNumericalValue value) Sets the value of the curveRadius property.Methods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomProperty
-
Field Details
-
curveRadius
The radius of the curve which describes the appearance of the path segment.
-
controlPoint
-
-
Constructor Details
-
VecPathSegment
public VecPathSegment()
-
-
Method Details
-
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
Sets the value of the curveRadius property.- Parameters:
value- allowed object isVecNumericalValue- See Also:
-
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
setmethod 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
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 aVecGeometrySegment2Dotherwise it will be null.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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
-