Class VecGeometrySegment2D
- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,HasIdentification,HasModifiableIdentification,Visitable,Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected VecGeometryNode2Dprotected VecCartesianVector2DSpecifies the end vector of the geometry segment.protected List<VecPathSegment>protected VecGeometryNode2Dprotected VecCartesianVector2DSpecifies the start vector of the geometry segment.Fields inherited from class com.foursoft.harness.vec.v113.VecGeometrySegment
aliasIds, identification, referenceSegmentFields inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
configInfoFields 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 endNode property.Gets the value of the endVector property.Gets a reference to the parent of this object in the XML DOM Tree.Gets the value of the pathSegments property.Gets the value of the startNode property.Gets the value of the startVector property.voidsetEndNode(VecGeometryNode2D value) Sets the value of the endNode property.voidsetEndVector(VecCartesianVector2D value) Sets the value of the endVector property.voidsetStartNode(VecGeometryNode2D value) Sets the value of the startNode property.voidSets the value of the startVector property.Methods inherited from class com.foursoft.harness.vec.v113.VecGeometrySegment
getAliasIds, getIdentification, getReferenceSegment, setIdentification, setReferenceSegmentMethods inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
getConfigInfo, setConfigInfoMethods 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
-
startVector
Specifies the start vector of the geometry segment. The start vector is a tangent to the segment at the start position.
-
endVector
Specifies the end vector of the geometry segment. The end vector is a tangent to the segment at the end position.
-
endNode
-
startNode
-
pathSegments
-
-
Constructor Details
-
VecGeometrySegment2D
public VecGeometrySegment2D()
-
-
Method Details
-
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
Sets the value of the startVector property.- Parameters:
value- allowed object isVecCartesianVector2D- See Also:
-
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
Sets the value of the endVector property.- Parameters:
value- allowed object isVecCartesianVector2D- See Also:
-
getEndNode
Gets the value of the endNode property.- Returns:
- possible object is
Object
-
setEndNode
Sets the value of the endNode property.- Parameters:
value- allowed object isObject
-
getStartNode
Gets the value of the startNode property.- Returns:
- possible object is
Object
-
setStartNode
Sets the value of the startNode property.- Parameters:
value- allowed object isObject
-
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
setmethod 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
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 aVecBuildingBlockSpecification2Dotherwise 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
-