|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.geometry.standard.curvesegments.DefaultArcByBulge
public class DefaultArcByBulge
Default implementation of ArcByBulge segments.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
|---|
CurveSegment.CurveSegmentType |
| Constructor Summary | |
|---|---|
DefaultArcByBulge(Point p1,
Point p2,
double bulge,
Point normal)
Creates a new DefaultArcByBulge instance from the given parameters. |
|
| Method Summary | |
|---|---|
double |
getBulge()
Returns the single bulge value. |
double[] |
getBulges()
Returns the bulge values. |
Points |
getControlPoints()
Returns the control points of the segment. |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in. |
Point |
getEndPoint()
Returns the end point of the segment. |
Point |
getNormal()
Returns the single normal vector for the bulge. |
Points |
getNormals()
Returns the normal vectors that define the arc string. |
int |
getNumArcs()
Returns the number of arcs of the string. |
Point |
getPoint1()
Returns the first control point. |
Point |
getPoint2()
Returns the second control point. |
CurveSegment.CurveSegmentType |
getSegmentType()
Returns the type of curve segment. |
Point |
getStartPoint()
Returns the start point of the segment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultArcByBulge(Point p1,
Point p2,
double bulge,
Point normal)
DefaultArcByBulge instance from the given parameters.
p1 - first control pointp2 - second control pointbulge - normal - | Method Detail |
|---|
public Point getPoint1()
ArcByBulge
getPoint1 in interface ArcByBulgepublic Point getPoint2()
ArcByBulge
getPoint2 in interface ArcByBulgepublic double getBulge()
ArcByBulge
getBulge in interface ArcByBulgepublic Point getNormal()
ArcByBulge
getNormal in interface ArcByBulgepublic double[] getBulges()
ArcStringByBulge
getBulges in interface ArcStringByBulgepublic Points getNormals()
ArcStringByBulge
getNormals in interface ArcStringByBulgepublic int getNumArcs()
ArcStringByBulge
getNumArcs in interface ArcStringByBulgepublic int getCoordinateDimension()
CurveSegment
getCoordinateDimension in interface CurveSegmentpublic Points getControlPoints()
ArcStringByBulge
getControlPoints in interface ArcStringByBulgepublic Point getStartPoint()
CurveSegment
getStartPoint in interface CurveSegmentpublic Point getEndPoint()
CurveSegment
getEndPoint in interface CurveSegmentpublic CurveSegment.CurveSegmentType getSegmentType()
CurveSegment
getSegmentType in interface CurveSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||