C# Class ShapePath2.PathInfo

显示文件 Open project: inoook/BezierPath Class Usage Examples

Public Properties

Property Type Description
paths List

Public Methods

Method Description
PathInfo ( List commands = null, List data = null ) : System.Collections
build ( List commands, List data ) : void
lengthToIndex ( float targetLength ) : int
lengthToPoint ( float targetLength ) : Point3D
lengthToVector ( float targetLength ) : VPoint3D
mergePath ( PathInfo p0, PathInfo p1 ) : GraphicsPath
mergePathCommands ( PathInfo p0, PathInfo p1, float err = 0.1f ) : List
update ( ) : void

Private Methods

Method Description
_addmergePathCommand ( IPath pt0, IPath pt1, List commands, List d0, List d1 ) : void
_mergeGraphicsPathCommands ( List c0, List d0, List d1, List paths0, List paths1 ) : void
_segmentPathToCompare ( PathInfo p0, PathInfo p1, float err, List paths0, List paths1 ) : void

Method Details

PathInfo() public method

public PathInfo ( List commands = null, List data = null ) : System.Collections
commands List
data List
return System.Collections

build() public method

public build ( List commands, List data ) : void
commands List
data List
return void

lengthToIndex() public method

public lengthToIndex ( float targetLength ) : int
targetLength float
return int

lengthToPoint() public method

public lengthToPoint ( float targetLength ) : Point3D
targetLength float
return Point3D

lengthToVector() public method

public lengthToVector ( float targetLength ) : VPoint3D
targetLength float
return VPoint3D

mergePath() public static method

public static mergePath ( PathInfo p0, PathInfo p1 ) : GraphicsPath
p0 PathInfo
p1 PathInfo
return GraphicsPath

mergePathCommands() public static method

public static mergePathCommands ( PathInfo p0, PathInfo p1, float err = 0.1f ) : List
p0 PathInfo
p1 PathInfo
err float
return List

update() public method

public update ( ) : void
return void

Property Details

paths public_oe property

public List paths
return List