Skip to content

Class: Navi3DRouter

Constructors

Properties

Methods

Constructors

constructor

new Navi3DRouter(): Navi3DRouter

Returns

Navi3DRouter

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

NameType
fromPtVector3
endPtVector3
fromEdgeNavi3DEdge

Returns

void

Defined in

src/math/navigation/Navi3DRouter.ts:37


passEdge

passEdge(commonEdge, nextCommonEdge, targetPoint, lastEdge): boolean

Parameters

NameType
commonEdgeNavi3DEdge
nextCommonEdgeNavi3DEdge
targetPointVector3
lastEdgeboolean

Returns

boolean

Defined in

src/math/navigation/Navi3DRouter.ts:44


calcCrossEdge

calcCrossEdge(_edge, linePoint, lineDirection): Vector3

Parameters

NameType
_edgeNavi3DEdge
linePointVector3
lineDirectionVector3

Returns

Vector3

Defined in

src/math/navigation/Navi3DRouter.ts:138


calcCrossPoint

calcCrossPoint(segmentPt1, segmentPt2, linePoint, lineDirection): Vector3

Parameters

NameType
segmentPt1Vector3
segmentPt2Vector3
linePointVector3
lineDirectionVector3

Returns

Vector3

Defined in

src/math/navigation/Navi3DRouter.ts:142


calcCrossPointOut

calcCrossPointOut(segmentPt1, segmentPt2, linePoint, lineDirection): Vector3

Parameters

NameType
segmentPt1Vector3
segmentPt2Vector3
linePointVector3
lineDirectionVector3

Returns

Vector3

Defined in

src/math/navigation/Navi3DRouter.ts:163


hasCrossPoint

hasCrossPoint(segmentPt1, segmentPt2, linePoint, lineDirection): boolean

Parameters

NameType
segmentPt1Vector3
segmentPt2Vector3
linePointVector3
lineDirectionVector3

Returns

boolean

Defined in

src/math/navigation/Navi3DRouter.ts:178


resetData

resetData(): void

Returns

void

Defined in

src/math/navigation/Navi3DRouter.ts:205