Search Results for

    Show / Hide Table of Contents

    Class BuildTrackOption

    Inheritance
    System.Object
    BuildTrackOption
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: PLATEAU.RoadNetwork.Structure
    Assembly: cs.temp.dll.dll
    Syntax
    public class BuildTrackOption

    Properties

    AllowSelfTrack

    同じ道路への侵入を許可する

    Declaration
    public bool AllowSelfTrack { get; set; }
    Property Value
    Type Description
    System.Boolean

    ClearTracks

    生成前に,既存のTrackをクリアする

    Declaration
    public bool ClearTracks { get; set; }
    Property Value
    Type Description
    System.Boolean

    DevAllowCenterLine

    デバッグ用) 中央パスを用いるかどうか

    Declaration
    public bool DevAllowCenterLine { get; set; }
    Property Value
    Type Description
    System.Boolean

    TangentLength

    スプラインのTangentの長さ

    Declaration
    public float TangentLength { get; set; }
    Property Value
    Type Description
    System.Single

    TargetBorderLineStrings

    ここで指定されたLineStringを境界とするトラックのみビルド対象とする. 空の場合は全てのトラックが対象となる

    Declaration
    public HashSet<RnLineString> TargetBorderLineStrings { get; set; }
    Property Value
    Type Description
    HashSet<RnLineString>

    UnCreatedTrackOnly

    現在存在しないトラックのみをビルド対象とする(ClearTracks=trueだと実質的に全トラックが対象)

    Declaration
    public bool UnCreatedTrackOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Default()

    全トラックの再生成

    Declaration
    public static BuildTrackOption Default()
    Returns
    Type Description
    BuildTrackOption

    IsBuildTarget(RnIntersection, RnIntersectionEdge, RnIntersectionEdge)

    ビルド対象のトラックかどうか

    Declaration
    public bool IsBuildTarget(RnIntersection intersection, RnIntersectionEdge from, RnIntersectionEdge to)
    Parameters
    Type Name Description
    RnIntersection intersection
    RnIntersectionEdge from
    RnIntersectionEdge to
    Returns
    Type Description
    System.Boolean

    UnBuiltTracks()

    未生成のトラックだけを対象とする

    Declaration
    public static BuildTrackOption UnBuiltTracks()
    Returns
    Type Description
    BuildTrackOption

    WithBorder(IEnumerable<RnLineString>)

    指定した境界線に関係するトラックのみビルド対象とする

    Declaration
    public static BuildTrackOption WithBorder(IEnumerable<RnLineString> borders)
    Parameters
    Type Name Description
    IEnumerable<RnLineString> borders
    Returns
    Type Description
    BuildTrackOption
    In This Article
    Back to top PLATEAU SDK for Unity