Class Segment2DTess
java.lang.Object
com.gaia3d.basic.geometry.tessellator.Segment2DTess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubleintintersectionWithPointByDistances(Point2DTess point, double error) intintersectionWithSegment(Segment2DTess segment, Point2DTess intersectionPoint, double error) voidsetPoint1(Point2DTess point2DTess) voidsetPoint2(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)
-