Package net.opengis.gml311
Interface OffsetCurveType
-
- All Superinterfaces:
AbstractCurveSegmentType
,EObject
,Notifier
- All Known Implementing Classes:
OffsetCurveTypeImpl
public interface OffsetCurveType extends AbstractCurveSegmentType
A representation of the model object 'Offset Curve Type'. An offset curve is a curve at a constant distance from the basis curve. They can be useful as a cheap and simple alternative to constructing curves that are offsets by definition.The following features are supported:
- See Also:
Gml311Package.getOffsetCurveType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LengthType
getDistance()
Returns the value of the 'Distance' containment reference.CurvePropertyType
getOffsetBase()
Returns the value of the 'Offset Base' containment reference.VectorType
getRefDirection()
Returns the value of the 'Ref Direction' containment reference.void
setDistance(LengthType value)
Sets the value of the 'Distance
' containment reference.void
setOffsetBase(CurvePropertyType value)
Sets the value of the 'Offset Base
' containment reference.void
setRefDirection(VectorType value)
Sets the value of the 'Ref Direction
' containment reference.-
Methods inherited from interface AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, isSetNumDerivativeInterior, isSetNumDerivativesAtEnd, isSetNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart, unsetNumDerivativeInterior, unsetNumDerivativesAtEnd, unsetNumDerivativesAtStart
-
-
-
-
Method Detail
-
getOffsetBase
CurvePropertyType getOffsetBase()
Returns the value of the 'Offset Base' containment reference. offsetBase is a reference to thecurve from which this curve is define as an offset.- Returns:
- the value of the 'Offset Base' containment reference.
- See Also:
setOffsetBase(CurvePropertyType)
,Gml311Package.getOffsetCurveType_OffsetBase()
-
setOffsetBase
void setOffsetBase(CurvePropertyType value)
Sets the value of the 'Offset Base
' containment reference.- Parameters:
value
- the new value of the 'Offset Base' containment reference.- See Also:
getOffsetBase()
-
getDistance
LengthType getDistance()
Returns the value of the 'Distance' containment reference. distance is the distance at which the offset curve is generated from the basis curve. In 2D systems, positive distances are to be to the left of the basis curve, and the negative distances are to be to the right of the basis curve.- Returns:
- the value of the 'Distance' containment reference.
- See Also:
setDistance(LengthType)
,Gml311Package.getOffsetCurveType_Distance()
-
setDistance
void setDistance(LengthType value)
Sets the value of the 'Distance
' containment reference.- Parameters:
value
- the new value of the 'Distance' containment reference.- See Also:
getDistance()
-
getRefDirection
VectorType getRefDirection()
Returns the value of the 'Ref Direction' containment reference. refDistance is used to define the vector direction of the offset curve from the basis curve. It can be omitted in the 2D case, where the distance can be positive or negative. In that case, distance defines left side (positive distance) or right side (negative distance) with respect to the tangent to the basis curve. In 3D the basis curve shall have a well defined tangent direction for every point. The offset curve at any point in 3D, the basis curve shall have a well-defined tangent direction for every point. The offset curve at any point (parameter) on the basis curve c is in the direction - - - - s = v x t where v = c.refDirection() and - t = c.tangent() - For the offset direction to be well-defined, v shall not on any point of the curve be in the same, or opposite, direction as - t. The default value of the refDirection shall be the local co-ordinate axis vector for elevation, which indicates up for the curve in a geographic sense. NOTE! If the refDirection is the positive tangent to the local elevation axis ("points upward"), then the offset vector points to the left of the curve when viewed from above.- Returns:
- the value of the 'Ref Direction' containment reference.
- See Also:
setRefDirection(VectorType)
,Gml311Package.getOffsetCurveType_RefDirection()
-
setRefDirection
void setRefDirection(VectorType value)
Sets the value of the 'Ref Direction
' containment reference.- Parameters:
value
- the new value of the 'Ref Direction' containment reference.- See Also:
getRefDirection()
-
-