25.04.2013 Views

View PDF

View PDF

View PDF

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LRS Operations<br />

For examples of these operations, see the Usage Notes and Examples for the SDO_<br />

LRS.TRANSLATE_MEASURE, SDO_LRS.REVERSE_GEOMETRY, and SDO_<br />

LRS.REDEFINE_GEOM_SEGMENT subprograms in Chapter 25.<br />

7.5.7 Offsetting a Geometric Segment<br />

You can create a new geometric segment by performing an offsetting operation on a<br />

geometric segment. Figure 7–14 shows the mapping relationship for geometric<br />

segment offsetting.<br />

Figure 7–14 Offsetting a Geometric Segment<br />

In the offsetting operation shown in Figure 7–14, the resulting geometric segment is<br />

offset by 5 units from the specified start and end measures of the original segment.<br />

For more information, see the Usage Notes and Examples for the SDO_LRS.OFFSET_<br />

GEOM_SEGMENT function in Chapter 25.<br />

7.5.8 Locating a Point on a Geometric Segment<br />

You can find the position of a point described by a measure and an offset on a<br />

geometric segment (see Figure 7–15).<br />

Figure 7–15 Locating a Point Along a Segment with a Measure and an Offset<br />

Start Point<br />

There is always a unique location with a specific measure on a geometric segment.<br />

Ambiguity arises when offsets are given and the points described by the measures fall<br />

on shape points of the geometric segment (see Figure 7–16).<br />

7-12 Oracle Spatial Developer’s Guide<br />

Direction of the Segments<br />

Start Measure<br />

Resulting Segment<br />

Positive Offset<br />

(for example, 5)<br />

Negative Offset<br />

(for example, -5)<br />

End Measure<br />

Segment Direction<br />

Projection Point<br />

Measure<br />

Positive Offset<br />

Negative Offset<br />

End Point<br />

Offset (Positive if to left along segment direction;<br />

negative if to right along segment direction.)<br />

Point to Be Located

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!