Struct Segment3f
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Segment3f(Vector3f, Vector3f)
Declaration
public Segment3f(Vector3f p0, Vector3f p1)
Parameters
Segment3f(Vector3f, Vector3f, Single)
Declaration
public Segment3f(Vector3f center, Vector3f direction, float extent)
Parameters
Fields
Center
Declaration
Field Value
Direction
Declaration
public Vector3f Direction
Field Value
Extent
Declaration
Field Value
Properties
Length
Declaration
public float Length { get; }
Property Value
P0
Declaration
public Vector3f P0 { get; set; }
Property Value
P1
Declaration
public Vector3f P1 { get; set; }
Property Value
Methods
DistanceSquared(Vector3f)
Declaration
public float DistanceSquared(Vector3f p)
Parameters
Returns
NearestPoint(Vector3f)
Declaration
public Vector3f NearestPoint(Vector3f p)
Parameters
Returns
PointAt(Single)
Declaration
public Vector3f PointAt(float d)
Parameters
Type |
Name |
Description |
Single |
d |
|
Returns
PointBetween(Single)
Declaration
public Vector3f PointBetween(float t)
Parameters
Type |
Name |
Description |
Single |
t |
|
Returns
Project(Vector3f)
Declaration
public float Project(Vector3f p)
Parameters
Returns
SetEndpoints(Vector3f, Vector3f)
Declaration
public void SetEndpoints(Vector3f p0, Vector3f p1)
Parameters