|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ArcByBulge
public Point getPoint2()
ArcByBulge
getPoint2
in interface ArcByBulge
public double getBulge()
ArcByBulge
getBulge
in interface ArcByBulge
public Point getNormal()
ArcByBulge
getNormal
in interface ArcByBulge
public double[] getBulges()
ArcStringByBulge
getBulges
in interface ArcStringByBulge
public Points getNormals()
ArcStringByBulge
getNormals
in interface ArcStringByBulge
public int getNumArcs()
ArcStringByBulge
getNumArcs
in interface ArcStringByBulge
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Points getControlPoints()
ArcStringByBulge
getControlPoints
in interface ArcStringByBulge
public Point getStartPoint()
CurveSegment
getStartPoint
in interface CurveSegment
public Point getEndPoint()
CurveSegment
getEndPoint
in interface CurveSegment
public CurveSegment.CurveSegmentType getSegmentType()
CurveSegment
getSegmentType
in interface CurveSegment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |