Class: Navi3DRouter
Constructors
Properties
- RAY_1
- RAY_2
- TEST_RAY
- TEST_RAY_1
- TEST_RAY_2
- endPoint
- curPoint
- rayA
- rayB
- rayAPoint
- rayBPoint
- cornerPoint
- cornerEdge
Methods
Constructors
constructor
• new Navi3DRouter(): Navi3DRouter
Returns
Properties
RAY_1
▪ Static
RAY_1: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:19
RAY_2
▪ Static
RAY_2: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:21
TEST_RAY
▪ Static
TEST_RAY: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:23
TEST_RAY_1
▪ Static
TEST_RAY_1: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:25
TEST_RAY_2
▪ Static
TEST_RAY_2: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:27
endPoint
• endPoint: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:7
curPoint
• curPoint: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:9
rayA
• rayA: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:11
rayB
• rayB: Vector3
Defined in
src/math/navigation/Navi3DRouter.ts:13
rayAPoint
• rayAPoint: Navi3DPoint
Defined in
src/math/navigation/Navi3DRouter.ts:15
rayBPoint
• rayBPoint: Navi3DPoint
Defined in
src/math/navigation/Navi3DRouter.ts:17
cornerPoint
• cornerPoint: Navi3DPoint
Defined in
src/math/navigation/Navi3DRouter.ts:33
cornerEdge
• cornerEdge: Navi3DEdge
Defined in
src/math/navigation/Navi3DRouter.ts:35
Methods
continuePass
▸ continuePass(fromPt
, endPt
, fromEdge
): void
Parameters
Name | Type |
---|---|
fromPt | Vector3 |
endPt | Vector3 |
fromEdge | Navi3DEdge |
Returns
void
Defined in
src/math/navigation/Navi3DRouter.ts:37
passEdge
▸ passEdge(commonEdge
, nextCommonEdge
, targetPoint
, lastEdge
): boolean
Parameters
Name | Type |
---|---|
commonEdge | Navi3DEdge |
nextCommonEdge | Navi3DEdge |
targetPoint | Vector3 |
lastEdge | boolean |
Returns
boolean
Defined in
src/math/navigation/Navi3DRouter.ts:44
calcCrossEdge
▸ calcCrossEdge(_edge
, linePoint
, lineDirection
): Vector3
Parameters
Name | Type |
---|---|
_edge | Navi3DEdge |
linePoint | Vector3 |
lineDirection | Vector3 |
Returns
Defined in
src/math/navigation/Navi3DRouter.ts:138
calcCrossPoint
▸ calcCrossPoint(segmentPt1
, segmentPt2
, linePoint
, lineDirection
): Vector3
Parameters
Name | Type |
---|---|
segmentPt1 | Vector3 |
segmentPt2 | Vector3 |
linePoint | Vector3 |
lineDirection | Vector3 |
Returns
Defined in
src/math/navigation/Navi3DRouter.ts:142
calcCrossPointOut
▸ calcCrossPointOut(segmentPt1
, segmentPt2
, linePoint
, lineDirection
): Vector3
Parameters
Name | Type |
---|---|
segmentPt1 | Vector3 |
segmentPt2 | Vector3 |
linePoint | Vector3 |
lineDirection | Vector3 |
Returns
Defined in
src/math/navigation/Navi3DRouter.ts:163
hasCrossPoint
▸ hasCrossPoint(segmentPt1
, segmentPt2
, linePoint
, lineDirection
): boolean
Parameters
Name | Type |
---|---|
segmentPt1 | Vector3 |
segmentPt2 | Vector3 |
linePoint | Vector3 |
lineDirection | Vector3 |
Returns
boolean
Defined in
src/math/navigation/Navi3DRouter.ts:178
resetData
▸ resetData(): void
Returns
void