georegression.struct.line
Class LineSegment3D_F32
- java.lang.Object
-
- georegression.struct.line.LineSegment3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class LineSegment3D_F32 extends java.lang.Object implements java.io.SerializableDefines a line segment by its two end points.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description Point3D_F32aPoint3D_F32b
-
Constructor Summary
Constructors Constructor and Description LineSegment3D_F32()LineSegment3D_F32(float x0, float y0, float z0, float x1, float y1, float z1)LineSegment3D_F32(Point3D_F32 a, Point3D_F32 b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description LineSegment3D_F32copy()Point3D_F32getA()Point3D_F32getB()floatgetLength()floatgetLength2()voidset(float x0, float y0, float z0, float x1, float y1, float z1)voidset(LineSegment3D_F32 l)voidset(Point3D_F32 a, Point3D_F32 b)voidsetA(Point3D_F32 a)voidsetB(Point3D_F32 b)floatslopeX()floatslopeY()static LineSegment3D_F32wrap(Point3D_F32 a, Point3D_F32 b)
-
-
-
Field Detail
-
a
public Point3D_F32 a
-
b
public Point3D_F32 b
-
-
Constructor Detail
-
LineSegment3D_F32
public LineSegment3D_F32()
-
LineSegment3D_F32
public LineSegment3D_F32(Point3D_F32 a, Point3D_F32 b)
-
LineSegment3D_F32
public LineSegment3D_F32(float x0, float y0, float z0, float x1, float y1, float z1)
-
-
Method Detail
-
wrap
public static LineSegment3D_F32 wrap(Point3D_F32 a, Point3D_F32 b)
-
set
public void set(LineSegment3D_F32 l)
-
set
public void set(Point3D_F32 a, Point3D_F32 b)
-
set
public void set(float x0, float y0, float z0, float x1, float y1, float z1)
-
getA
public Point3D_F32 getA()
-
setA
public void setA(Point3D_F32 a)
-
getB
public Point3D_F32 getB()
-
setB
public void setB(Point3D_F32 b)
-
slopeX
public float slopeX()
-
slopeY
public float slopeY()
-
getLength
public float getLength()
-
getLength2
public float getLength2()
-
copy
public LineSegment3D_F32 copy()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG