Class Segment2DTess
java.lang.Object
com.gaia3d.basic.geometry.tessellator.Segment2DTess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
int
intersectionWithPointByDistances
(Point2DTess point, double error) int
intersectionWithSegment
(Segment2DTess segment, Point2DTess intersectionPoint, double error) void
setPoint1
(Point2DTess point2DTess) void
setPoint2
(Point2DTess point2DTess)
-
Field Details
-
startPoint
-
endPoint
-
-
Constructor Details
-
Segment2DTess
-
-
Method Details
-
setPoint1
-
setPoint2
-
getLine
-
getLengthSquared
public double getLengthSquared() -
getLength
public double getLength() -
intersectionWithPointByDistances
-
intersectionWithSegment
public int intersectionWithSegment(Segment2DTess segment, Point2DTess intersectionPoint, double error)
-