public class

NavTruckRestriction

extends BaseModel
java.lang.Object
   ↳ com.tencent.navix.api.model.BaseModel
     ↳ com.tencent.navix.api.model.NavTruckRestriction
Known Direct Subclasses

Class Overview

货车限制信息

Summary

Public Constructors
NavTruckRestriction(int truckRestrictionType, NavRoutePoint routePoint, float limitWidth, float limitHeight, float limitLength, float limitWeight, String roadName)
Public Methods
float getLimitHeight()
限高,单位米,当类型为限高时有意义
float getLimitLength()
限长,单位米,当类型为限长时有意义
float getLimitWeight()
限重,单位吨,当类型为限重时有意义
float getLimitWidth()
限宽,单位米,当类型为限宽时有意义
String getRoadName()
所在路名
NavRoutePoint getRoutePoint()
限制点信息
int getTruckRestrictionType()
货车限制类型
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NavTruckRestriction (int truckRestrictionType, NavRoutePoint routePoint, float limitWidth, float limitHeight, float limitLength, float limitWeight, String roadName)

Public Methods

public float getLimitHeight ()

限高,单位米,当类型为限高时有意义

public float getLimitLength ()

限长,单位米,当类型为限长时有意义

public float getLimitWeight ()

限重,单位吨,当类型为限重时有意义

public float getLimitWidth ()

限宽,单位米,当类型为限宽时有意义

public String getRoadName ()

所在路名

public NavRoutePoint getRoutePoint ()

限制点信息

public int getTruckRestrictionType ()

货车限制类型

public String toString ()